-
Notifications
You must be signed in to change notification settings - Fork 0
npm script
Tuong-Nguyen edited this page Apr 6, 2017
·
1 revision
- Define task in scripts block of package.json
"scripts": {
"prestart": "node buildScripts/startMessage.js",
"start": "node buildScripts/srcServer.js",
"security-check": "nsp check"
},
Pre_Post Hook pretask start posttask
- Run a task:
npm run start
npm-run-all --parallel security-check open:src
Grunt Gulp