Skip to content

Commit a9e0958

Browse files
committed
Switch from ghpages to gh-pages for publishing for better reliability
1 parent f06ab2e commit a9e0958

File tree

2 files changed

+65
-123
lines changed

2 files changed

+65
-123
lines changed

package-lock.json

+63-121
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "semistandard -v | snazzy",
1111
"lint:fix": "semistandard --fix -v | snazzy",
1212
"prepublish": "npm run dist",
13-
"ghpages": "ghpages",
13+
"ghpages": "NODE_DEBUG=gh-pages gh-pages -d ./ -s '{dist/**,examples/**,index.html}' -m \"Github Pages $(date +\"%d-%h-%Y %l:%M:%S %p\") deployment\"",
1414
"start": "npm run dev",
1515
"test": "karma start ./tests/karma.conf.js",
1616
"test:firefox": "karma start ./tests/karma.conf.js --browsers Firefox",
@@ -45,7 +45,7 @@
4545
"chai": "^4.1.2",
4646
"chai-shallow-deep-equal": "^1.3.0",
4747
"coveralls": "^3.0.0",
48-
"ghpages": "^0.0.8",
48+
"gh-pages": "^1.1.0",
4949
"karma": "^2.0.0",
5050
"karma-browserify": "^5.2.0",
5151
"karma-chai-shallow-deep-equal": "^0.0.4",

0 commit comments

Comments
 (0)