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

Commit

Permalink
chore(package): add prepare and release scripts
Browse files Browse the repository at this point in the history
Add `standard-version` devDependency
  • Loading branch information
medfreeman committed Sep 25, 2017
1 parent 65e28a7 commit ab9a479
Show file tree
Hide file tree
Showing 2 changed files with 276 additions and 19 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"test": "npm run e2e",
"build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
"watch": "npm run build -- -w",
"bump": "npm run build && npm --no-git-tag-version version patch && npm publish"
"prepare": "npm run test",
"release": "standard-version && git push --follow-tags && npm publish"
},
"peerDependencies": {
"@nuxtjs/axios": "^4.3.0"
Expand Down Expand Up @@ -98,7 +99,8 @@
"rollup-watch": "^4.3.1",
"serve-static": "^1.12.6",
"sinon": "^3.3.0",
"sinon-chai": "^2.13.0"
"sinon-chai": "^2.13.0",
"standard-version": "^4.2.0"
},
"lint-staged": {
"[!template].js": [
Expand Down
Loading

0 comments on commit ab9a479

Please sign in to comment.