Skip to content

Commit

Permalink
adds postshrinkwrap script to avoid http/https churn in package-lock.…
Browse files Browse the repository at this point in the history
…json
  • Loading branch information
DougReeder committed Dec 15, 2018
1 parent 8456403 commit 4685d1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -16,6 +16,7 @@
"lint": "eslint --quiet src/", "lint": "eslint --quiet src/",
"build": "NODE_ENV=production webpack --mode=production", "build": "NODE_ENV=production webpack --mode=production",
"dev": "webpack -w --mode=development", "dev": "webpack -w --mode=development",
"postshrinkwrap": "if [ \"`uname`\" = \"Darwin\" ]; then sed -i '' -e 's/http:\\/\\//https:\\/\\//g' package-lock.json; else sed -i -e 's/http:\\/\\//https:\\/\\//g' package-lock.json; fi",
"doc": "cd doc; sphinx-autobuild -i '*~' -i '*.sw*' -i '#*#' . _build/html", "doc": "cd doc; sphinx-autobuild -i '*~' -i '*.sw*' -i '#*#' . _build/html",
"preversion": "npm test", "preversion": "npm test",
"version": "npm run build && git add release/ && npm run update-bower-version && git add bower.json && npm run update-doc-version && git add doc/version.py", "version": "npm run build && git add release/ && npm run update-bower-version && git add bower.json && npm run update-doc-version && git add doc/version.py",
Expand Down

0 comments on commit 4685d1a

Please sign in to comment.