Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json: run shell scripts with env bash #868

Merged
merged 1 commit into from
Feb 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"main": "index.js",
"scripts": {
"create-data-dir": "./scripts/create-data-dir.sh",
"create-data-dir": "env bash ./scripts/create-data-dir.sh",
"postinstall": "npm run create-data-dir",
"view": "node auspice.js view --verbose",
"dev": "node auspice.js develop --verbose",
Expand All @@ -24,11 +24,11 @@
"build": "node auspice.js build --verbose",
"prepare": "npm run build",
"lint": "eslint src",
"get-data": "./scripts/get-data.sh",
"get-narratives": "./scripts/get-narratives.sh",
"get-data": "env bash ./scripts/get-data.sh",
"get-narratives": "env bash ./scripts/get-narratives.sh",
"heroku-postbuild": "npm run build && npm run get-data && npm run get-narratives",
"rebuild-docker-image": "./scripts/rebuild-docker-image.sh",
"gzip-and-upload": "./scripts/gzip-and-upload.sh",
"rebuild-docker-image": "env bash ./scripts/rebuild-docker-image.sh",
"gzip-and-upload": "env bash ./scripts/gzip-and-upload.sh",
"build-docs": "echo 'see ./docs-src/README.md'"
},
"dependencies": {
Expand Down