mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 12:40:50 +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 {
|
function tests {
|
||||||
npm run lint
|
npm run lint
|
||||||
npm run test-docs
|
npm run docs:test
|
||||||
VERSIONED=false npm run webpack
|
VERSIONED=false npm run webpack
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,11 @@
|
||||||
"main": "./src/index",
|
"main": "./src/index",
|
||||||
"types": "./typings/index.d.ts",
|
"types": "./typings/index.d.ts",
|
||||||
"scripts": {
|
"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",
|
"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": "eslint src",
|
||||||
|
"lint:fix": "eslint --fix src",
|
||||||
"webpack": "parallel-webpack"
|
"webpack": "parallel-webpack"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue