Skip to content

Commit

Permalink
add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 23, 2019
1 parent cc0cf5e commit c38d8bc
Show file tree
Hide file tree
Showing 3 changed files with 2,247 additions and 82 deletions.
3 changes: 3 additions & 0 deletions circle.yml
Expand Up @@ -21,3 +21,6 @@ jobs:
- run:
name: test
command: yarn test
- run:
name: release
command: yarn semantic-release
14 changes: 13 additions & 1 deletion package.json
Expand Up @@ -12,7 +12,8 @@
"lint": "xo",
"build": "bili --js buble --format es --filename index.js",
"prepublishOnly": "npm run build",
"example": "poi example/index.js --serve --jsx vue"
"example": "poi example/index.js --serve --jsx vue",
"commit": "git-cz"
},
"repository": {
"url": "egoist/vue-router-prefetch",
Expand All @@ -22,6 +23,8 @@
"license": "MIT",
"devDependencies": {
"bili": "^3.4.2",
"commitizen": "^3.0.5",
"cz-conventional-changelog": "^2.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-rem": "^4.0.0",
"eslint-plugin-prettier": "^3.0.0",
Expand All @@ -30,6 +33,7 @@
"lint-staged": "^7.2.0",
"poi": "^12.4.6",
"prettier": "^1.15.2",
"semantic-release": "^15.13.3",
"vue": "^2.5.22",
"vue-router": "^3.0.2",
"vue-template-compiler": "^2.5.22",
Expand Down Expand Up @@ -62,5 +66,13 @@
"prettier --write",
"git add"
]
},
"release": {
"branch": "master"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit c38d8bc

Please sign in to comment.