Skip to content

Commit cf49311

Browse files
committed
First install deps on npm run all
1 parent 6060314 commit cf49311

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"main": "main.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"preall": "colors --white \" - \" --cyan \"Starting build process: Will clean, build, and copy to dist (./dist)\"",
8+
"preall": "npm run update-install && colors --white \" - \" --cyan \"Starting build process: Will clean, build, and copy to dist (./dist)\"",
99
"postall": "colors --white \" - \" --cyan \"Build process finished\"",
1010
"all": "npm-run-all clean build dist",
1111
"preclean": "colors --white \" - \" --green \"Bundling sources\"",
1212
"clean": "npm-run-all --parallel clean:*",
1313
"clean:build": "rimraf build",
1414
"clean:dist": "rimraf dist",
15+
"preupdate-install": "echo \" - Installing/Updating NPM packages\"",
16+
"update-install": "npm install --no-optional",
1517
"build": "mkdirp build && npm-run-all --parallel build:css build:fonts build:js",
1618
"prebuild:css": "colors --white \" - \" --green \"Bundling and minifying CSS files\"",
1719
"build:css": "mkdirp build/css && npm-run-all build:css:vendor build:css:app",

0 commit comments

Comments
 (0)