Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
⚡ improvement(npm): update tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Feb 16, 2017
1 parent bbcb6bc commit c0fac2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
},
{{/unless_eq}}
"scripts": {
"build": "node config/build.js{{#gitbook}} && npm run docs:build{{/gitbook}}",
"build": "node config/build.js",
{{#conventional}}
"changelog": "conventional-changelog -i CHANGELOG.md -s {{#unless_eq conventionalConfig "none"}}-p {{ conventionalConfig }}{{/unless_eq}}{{#if_eq conventionalConfig "none"}}-n ./config/convention.js{{/if_eq}}",
"release": "conventional-github-releaser {{#unless_eq conventionalConfig "none"}}-p {{ conventionalConfig }}{{/unless_eq}}{{#if_eq conventionalConfig "none"}}-n ./config/convention.js{{/if_eq}}",
Expand All @@ -115,7 +115,7 @@
"dev": "BABEL_ENV=test webpack-dev-server --inline --hot --open --config config/webpack.dev.conf.js",
{{#gitbook}}
"docs": "gitbook serve ./gitbook ./docs",
"docs:build": "gitbook build ./gitbook ./docs",
"docs:build": "node config/version.js && gitbook build ./gitbook ./docs",
"docs:install": "gitbook install ./gitbook",
{{/gitbook}}
{{#flow}}
Expand Down

0 comments on commit c0fac2d

Please sign in to comment.