Skip to content

Commit e916b64

Browse files
committed
docs: added gh-pages
1 parent cfbd856 commit e916b64

File tree

2 files changed

+161
-2
lines changed

2 files changed

+161
-2
lines changed

package-lock.json

Lines changed: 158 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"docs:dev": "./node_modules/.bin/vuepress dev docs --no-cache",
8-
"docs:build": "./node_modules/.bin/vuepress build docs --no-cache",
9-
"docs:publish": "surge docs/.vuepress/dist https://vue-a11y-theme.surge.sh",
8+
"docs:build": "./node_modules/.bin/vuepress build docs --no-cache && echo theme.vue-a11y.com >> docs/.vuepress/dist/CNAME",
9+
"docs:publish": "gh-pages -d docs/.vuepress/dist",
1010
"release": "standard-version",
1111
"project:publish": "git push --tags origin master && npm publish"
1212
},
@@ -37,6 +37,7 @@
3737
"eslint-plugin-standard": "^4.0.1",
3838
"eslint-plugin-vue": "^6.2.2",
3939
"eslint-plugin-vuejs-accessibility": "^0.1.2",
40+
"gh-pages": "^2.2.0",
4041
"standard-version": "^8.0.0",
4142
"vuepress": "^1.5.0",
4243
"watchpack": "^1.6.1"

0 commit comments

Comments
 (0)