mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Make npm test harder to pass (includes jsdoc now)
This commit is contained in:
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": {
|
||||
|
||||
Reference in New Issue
Block a user