mirror of
https://github.com/danbulant/discord.js
synced 2026-06-22 00:02:13 +00:00
Improve scripts
This commit is contained in:
parent
8ee0acf44c
commit
e9ab9c9f92
2 changed files with 4 additions and 3 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue