Skip to content

Commit fdde4d1

Browse files
committed
docs: using gh-pages
1 parent cb3aa71 commit fdde4d1

File tree

2 files changed

+154
-1
lines changed

2 files changed

+154
-1
lines changed

package-lock.json

Lines changed: 152 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build:unpkg": "rollup --config rollup.config.prod.js --format iife --file dist/vue-dark-mode.min.js",
1717
"docs": "vuepress dev docs --temp .temp",
1818
"docs:build": "vuepress build docs --no-cache",
19-
"docs:publish": "surge docs/.vuepress/dist https://vue-dark-mode.surge.sh",
19+
"docs:publish": "gh-pages -d docs/.vuepress/dist",
2020
"release": "standard-version",
2121
"test:unit": "jest",
2222
"test:e2e": "node_modules/.bin/cypress run --headless",
@@ -69,6 +69,7 @@
6969
"eslint-plugin-vue": "^6.1.2",
7070
"eslint-plugin-vue-a11y": "0.0.31",
7171
"eslint-plugin-vuejs-accessibility": "^0.1.1",
72+
"gh-pages": "^2.2.0",
7273
"jest": "^24.9.0",
7374
"portal-vue": "^2.1.7",
7475
"rollup": "^1.29.0",

0 commit comments

Comments
 (0)