Skip to content

Commit 176d2b6

Browse files
committed
Add publish demo command
1 parent 3e4ec34 commit 176d2b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ dist
55
demo/node_modules
66
demo/build
77
demo/package-lock.json
8-
demo/vue-skip-to.js
8+
demo/vue-skip-to.js
9+
demo/CNAME

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"release": "standard-version",
1010
"test": "node_modules/.bin/cypress run",
1111
"test:open": "node_modules/.bin/cypress open",
12-
"projectPublish": "git push --follow-tags origin master && npm publish"
12+
"projectPublish": "git push --follow-tags origin master && npm publish",
13+
"publishDemo": "surge demo"
1314
},
1415
"repository": {
1516
"type": "git",

0 commit comments

Comments
 (0)