Skip to content

Commit 11e5d77

Browse files
committed
Add command to publish documentation
1 parent 5669943 commit 11e5d77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"build:unpkg": "rollup --config rollup.config.prod.js --format iife --file dist/vue-dark-mode.min.js",
1717
"docs": "vuepress dev docs",
1818
"docs:build": "vuepress build docs",
19+
"docs:publish": "surge docs/.vuepress/dist https://vue-dark-mode.surge.sh",
1920
"release": "standard-version",
2021
"test:unit": "jest",
21-
"test:e2e": "cypress run --headless",
22-
"test:e2e:open": "cypress open ",
23-
"project:publish": "git push --follow-tags origin master && npm publish",
24-
"publish:demo": "cp ./dist/vue-dark-mode.min.js ./demo/vue-dark-mode.js && surge demo"
22+
"test:e2e": "node_modules/.bin/cypress run --headless",
23+
"test:e2e:open": "node_modules/.bin/cypress open ",
24+
"project:publish": "git push --follow-tags origin master && npm publish"
2525
},
2626
"repository": {
2727
"type": "git",

0 commit comments

Comments
 (0)