chttps
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"author": "Plotly, Inc.", | ||
@@ -8,0 +8,0 @@ "main": "chttps.js", |
@@ -6,4 +6,15 @@ # chttps | ||
# Install | ||
# Install globally as a command line utility | ||
``` | ||
npm install chttps --global | ||
``` | ||
Then in the package folder you could use the command below to test the package-lock.json file & replace resolved http links with https. | ||
``` | ||
chttps . | ||
``` | ||
# Install as a development dependency | ||
``` | ||
npm install chttps --save-dev | ||
@@ -21,3 +32,2 @@ ``` | ||
Replace all occurrences (i.e. the first ones on every line) of 'resolved": "http://' with 'resolved": "https://' in the package-lock.json in the current directory: | ||
``` | ||
@@ -28,5 +38,4 @@ chttps . | ||
Replace all occurrences (i.e. the first ones on every line) of 'resolved": "http://' with 'resolved": "https://' in the package-lock.json in another directory: | ||
``` | ||
chttps "packageFolder" | ||
``` |
3963
39