Skip to content

Commit 7f3528a

Browse files
committedNov 29, 2017
chore(package): deploy docs after publish
1 parent 49d21dd commit 7f3528a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"apidoc": "^0.17.6",
3838
"chai": "^4.1.2",
3939
"coveralls": "^3.0.0",
40+
"gh-pages-with-token": "^1.0.0",
4041
"glob": "^7.1.2",
4142
"mkdirp": "^0.5.1",
4243
"mocha": "^4.0.1",
@@ -63,8 +64,10 @@
6364
"postbuild:docs": "apidoc -i doc/ -o apidoc/",
6465
"build:flow": "node scripts/generate-flow-types",
6566
"build:ts": "node scripts/generate-typescript-types",
67+
"deploy-docs": "gh-pages-with-token -d apidoc",
6668
"presemantic-release": "npm run -s build",
67-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
69+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
70+
"postpublish": "npm run -s deploy-docs"
6871
},
6972
"license": "MIT",
7073
"licenses": [

0 commit comments

Comments
 (0)
Please sign in to comment.