mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 04:31:05 +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 {
|
function tests {
|
||||||
npm run lint
|
npm run lint
|
||||||
npm run test-docs
|
npm run test-docs
|
||||||
VERSIONED=false npm run web-dist
|
VERSIONED=false npm run webpack
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
function build {
|
function build {
|
||||||
npm run lint
|
npm run lint
|
||||||
npm run docs
|
npm run docs
|
||||||
VERSIONED=false npm run web-dist
|
VERSIONED=false npm run webpack
|
||||||
}
|
}
|
||||||
|
|
||||||
# For revert branches, do nothing
|
# For revert branches, do nothing
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
"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",
|
"test-docs": "docgen --source src --custom docs/index.yml",
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
"web-dist": "node ./node_modules/parallel-webpack/bin/run.js"
|
"webpack": "parallel-webpack"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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!
|
DO NOT USE NORMAL WEBPACK! IT WILL NOT WORK!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue