Skip to content

Commit

Permalink
closes #31 - replaced parallelshell with npm-run-all as the former ha…
Browse files Browse the repository at this point in the history
…s been deprecated in favour of the latter
  • Loading branch information
joefitter committed Apr 7, 2016
1 parent 402fd8b commit 2095b37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"scripts": {
"start": "node .",
"dev": "parallelshell 'NODE_ENV=development nodemon .' 'npm run watch:scss' 'npm run watch:js' 'npm run watch:translations'",
"dev": "npm-run-all --parallel watch:app watch:scss watch:js watch:translations",
"watch:app": "NODE_ENV=development nodemon .",
"watch:scss": "nodemon -e scss -x 'npm run sass'",
"watch:js": "nodemon --watch assets/js -x 'npm run browserify'",
"watch:translations": "nodemon --watch apps/my_awesome_form/translations/src -x 'npm run hof-transpile'",
Expand All @@ -22,7 +23,7 @@
"copy:images": "cp -r ./assets/images ./public/",
"style": "jscs **/*.js --config=./.jscsrc.json",
"quality": "plato -r -x 'node_modules|reports|test' -d reports/plato .",
"sass": "./node_modules/node-sass/bin/node-sass ./assets/scss/app.scss ./public/css/app.css --include-path ./node_modules",
"sass": "node-sass ./assets/scss/app.scss ./public/css/app.css --include-path ./node_modules",
"create:public": "mkdir -p ./public/js ./public/css ./public/images",
"hof-transpile": "hof-transpiler ./apps/**/translations/src -w --shared ./apps/common/translations/src",
"postinstall": "npm run create:public; npm run sass; npm run browserify; npm run copy:images; npm run hof-transpile"
Expand Down Expand Up @@ -65,7 +66,7 @@
"mocha-junit-reporter": "^1.4.0",
"mocha-multi": "^0.7.1",
"nodemon": "^1.9.0",
"parallelshell": "^1.1.1",
"npm-run-all": "^1.7.0",
"plato": "^1.5.0",
"pre-commit": "^1.0.10",
"proxyquire": "^1.5.0",
Expand Down

0 comments on commit 2095b37

Please sign in to comment.