mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Improve scripts
This commit is contained in:
@@ -5,7 +5,7 @@ set -e
|
||||
|
||||
function tests {
|
||||
npm run lint
|
||||
npm run test-docs
|
||||
npm run docs:test
|
||||
VERSIONED=false npm run webpack
|
||||
exit 0
|
||||
}
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
"main": "./src/index",
|
||||
"types": "./typings/index.d.ts",
|
||||
"scripts": {
|
||||
"test": "eslint src && docgen --source src --custom docs/index.yml",
|
||||
"test": "npm run lint && npm run docs:test",
|
||||
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
|
||||
"test-docs": "docgen --source src --custom docs/index.yml",
|
||||
"docs:test": "docgen --source src --custom docs/index.yml",
|
||||
"lint": "eslint src",
|
||||
"lint:fix": "eslint --fix src",
|
||||
"webpack": "parallel-webpack"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user