mirror of
https://github.com/danbulant/discord.js
synced 2026-06-21 07:42:36 +00:00
Renamed webpack build script
This commit is contained in:
parent
f51ba3fb06
commit
3545e731c0
3 changed files with 4 additions and 4 deletions
|
|
@ -6,14 +6,14 @@ set -e
|
|||
function tests {
|
||||
npm run lint
|
||||
npm run test-docs
|
||||
VERSIONED=false npm run web-dist
|
||||
VERSIONED=false npm run webpack
|
||||
exit 0
|
||||
}
|
||||
|
||||
function build {
|
||||
npm run lint
|
||||
npm run docs
|
||||
VERSIONED=false npm run web-dist
|
||||
VERSIONED=false npm run webpack
|
||||
}
|
||||
|
||||
# For revert branches, do nothing
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
|
||||
"test-docs": "docgen --source src --custom docs/index.yml",
|
||||
"lint": "eslint src",
|
||||
"web-dist": "node ./node_modules/parallel-webpack/bin/run.js"
|
||||
"webpack": "parallel-webpack"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
ONLY RUN BUILDS WITH `npm run web-dist`!
|
||||
ONLY RUN BUILDS WITH `npm run webpack`!
|
||||
DO NOT USE NORMAL WEBPACK! IT WILL NOT WORK!
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue