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 d912685 commit 4a143b0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
14 changes: 9 additions & 5 deletions package.cson
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ files: [
#####################################################################
dependencies:

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

"npm-run-all": 'latest'


"opener": 'latest'

Expand Down Expand Up @@ -327,11 +331,11 @@ scripts:
echo > open_webbrowser.js
&&
parallelshell
\"npm run dowatch\"
\"npm run httpServe\"
run-p
\"dowatch\"
\"httpServe\"
'
# \"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 @@ -44,7 +44,8 @@
"README.md"
],
"dependencies": {
"parallelshell": "latest",
"concurrently": "latest",
"npm-run-all": "latest",
"opener": "latest",
"http-server": "danielweck/http-server"
},
Expand Down Expand Up @@ -78,7 +79,7 @@
"build:scripts:single": "node ./readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=single",
"prebuild:styles": "node ./readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/css/",
"build:styles": "node ./readium-cfi-js/node_modules/cpy-cli/cli.js static/sdk.css build-output/css/",
"http:watch": "echo > open_webbrowser.js && parallelshell \"npm run dowatch\" \"npm run httpServe\"",
"http:watch": "echo > open_webbrowser.js && run-p \"dowatch\" \"httpServe\"",
"http": "npm run genPluginsConfig && npm run httpServe",
"dowatch": "node ./readium-cfi-js/node_modules/watch/cli.js \"npm run build && node readium-cfi-js/readium-build-tools/webbrowser.js && node ./readium-cfi-js/node_modules/rimraf/bin.js open_webbrowser.js\" dev/ js/ plugins/ readium-cfi-js/js/",
"httpServe": "node readium-cfi-js/readium-build-tools/http-server.js -LOGFILE http.log -OPEN /dev/ -a 127.0.0.1 -p 9090 --cors ."
Expand Down
2 changes: 1 addition & 1 deletion readium-cfi-js

0 comments on commit 4a143b0

Please # to comment.