Skip to content

Commit

Permalink
Merge pull request #3372 from plotly/replace-http-https
Browse files Browse the repository at this point in the history
Add postshrinkwrap step to replace http:// -> https://
  • Loading branch information
etpinard committed Dec 27, 2018
2 parents a56fa2a + 77a026b commit 112ab61
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 1 deletion.
262 changes: 262 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"preversion": "check-node-version --node 10 --npm 6 && npm-link-check && npm ls --prod",
"version": "npm run build && git add -A dist src build",
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",
"postpublish": "node tasks/sync_packages.js"
"postpublish": "node tasks/sync_packages.js",
"postshrinkwrap": "replace --silent '\"resolved\": \"http://' '\"resolved\": \"https://' package-lock.json"
},
"browserify": {
"transform": [
Expand Down Expand Up @@ -153,6 +154,7 @@
"prepend-file": "^1.3.1",
"prettysize": "^2.0.0",
"read-last-lines": "^1.6.0",
"replace": "^1.0.1",
"requirejs": "^2.3.6",
"run-series": "^1.1.8",
"through2": "^3.0.0",
Expand Down

0 comments on commit 112ab61

Please sign in to comment.