Skip to content

Commit

Permalink
Add release command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 14, 2018
1 parent ccab899 commit f2e6a87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"rdoc-cli": ".bin/rdoc.js"
},
"scripts": {
"release": "release-it --src.tagName='v%s'",
"deploy": "node .bin/rdoc.js --publish git@github.com:react-doc/react-doc.github.io.git --branch master",
"start": "node .bin/rdoc.js -d templates/default/home,templates/default/introduce,templates/default/faq,templates/default/about,templates/default/github --clean",
"build": "node .bin/rdoc.js -d templates/default/home,templates/default/introduce,templates/default/faq,templates/default/about,templates/default/github --clean --build"
Expand Down Expand Up @@ -87,5 +88,7 @@
"webpack-hot-dev-clients": "^1.0.4",
"write": "^1.0.3"
},
"devDependencies": {}
"devDependencies": {
"release-it": "^7.4.7"
}
}

0 comments on commit f2e6a87

Please sign in to comment.