Renamed webpack build script

This commit is contained in:
Schuyler Cebulskie
2017-01-19 22:07:02 -05:00
parent f51ba3fb06
commit 3545e731c0
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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!
*/ */