Skip to content

Commit

Permalink
feat(package): add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard-lin committed Aug 23, 2017
1 parent 0fb60ea commit d74f1ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-glamorous-displayname",
"version": "0.0.0-semantically-released",
"version": "0.0.0-development",
"description": "add a displayName property to glamorous components",
"main": "dist/index.js",
"engines": {
Expand All @@ -10,7 +10,8 @@
"scripts": {
"start": "nps",
"test": "nps test",
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\""
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\"",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"files": ["dist"],
"keywords": ["babel", "babel-plugin", "react", "glamorous"],
Expand Down Expand Up @@ -39,7 +40,8 @@
"nps": "^5.4.0",
"nps-utils": "^1.2.0",
"opt-cli": "^1.5.1",
"prettier-eslint-cli": "^4.1.1"
"prettier-eslint-cli": "^4.1.1",
"semantic-release": "^7.0.2"
},
"lint-staged": {
"*.+(js|json)": ["prettier-eslint --write", "git add"]
Expand Down

0 comments on commit d74f1ff

Please sign in to comment.