mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 11:24:43 +12:00
Make npm test harder to pass (includes jsdoc now)
This commit is contained in:
parent
8f1216d9a5
commit
b476473a2c
3 changed files with 8 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
@ -18,8 +18,12 @@ function parseDocs(json) {
|
|||
console.log('compressing');
|
||||
output = zlib.deflateSync(output).toString('utf8');
|
||||
}
|
||||
console.log('writing to docs.json');
|
||||
fs.writeFileSync('./docs/docs.json', output);
|
||||
if (!process.argv.slice(2).includes('silent')) {
|
||||
console.log('writing to docs.json');
|
||||
fs.writeFileSync('./docs/docs.json', output);
|
||||
}
|
||||
console.log('done!');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
console.log(`using format version ${GEN_VERSION}`);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "A powerful library for interacting with the Discord API",
|
||||
"main": "./src/index",
|
||||
"scripts": {
|
||||
"test": "eslint src/",
|
||||
"test": "eslint src/ && node docs/generator/generator.js silent",
|
||||
"docs": "node docs/generator/generator.js"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue