Skip to content

Commit

Permalink
parallelshell deprecated, migration to concurrently and npm-run-all
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Sep 27, 2016
1 parent bd0b266 commit 6deaa03
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 9 additions & 5 deletions package.cson
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ files: [
#####################################################################
dependencies:

"parallelshell": 'latest'
#"parallelshell": 'latest'
"concurrently": 'latest'

"npm-run-all": 'latest'


"opener": 'latest'

Expand Down Expand Up @@ -274,11 +278,11 @@ scripts:
echo > open_webbrowser.js
&&
parallelshell
\"npm run dowatch\"
\"npm run http\"
run-p
\"dowatch\"
\"http\"
'
# \"npm run live-reload\"
# \"live-reload\"

#=====================
#### BLOCKING! (CTRL-C) [http]
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"README.md"
],
"dependencies": {
"parallelshell": "latest",
"concurrently": "latest",
"npm-run-all": "latest",
"opener": "latest",
"http-server": "danielweck/http-server"
},
Expand Down Expand Up @@ -84,7 +85,7 @@
"build:scripts:multiple": "node ./node_modules/requirejs/bin/r.js -o ./readium-build-tools/RequireJS_config.js --rjs_bundle=multiple",
"postbuild:scripts:multiple": "node ./node_modules/rimraf/bin.js build-output/_multiple-bundles/RequireJS.js.src.js",
"build:scripts:single": "node ./node_modules/requirejs/bin/r.js -o ./readium-build-tools/RequireJS_config.js --rjs_bundle=single",
"http:watch": "echo > open_webbrowser.js && parallelshell \"npm run dowatch\" \"npm run http\"",
"http:watch": "echo > open_webbrowser.js && run-p \"dowatch\" \"http\"",
"http": "node readium-build-tools/http-server.js -LOGFILE http.log -OPEN /dev/ -a 127.0.0.1 -p 9090 --cors .",
"test": "node ./node_modules/karma/bin/karma start tests/karma.conf.js --singleRun --no-auto-watch",
"test:travis": "node ./node_modules/karma/bin/karma start tests/karma.travis.conf.js --singleRun --no-auto-watch",
Expand Down

0 comments on commit 6deaa03

Please sign in to comment.