Skip to content

Commit

Permalink
📦 Chore: add picgo bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Apr 9, 2019
1 parent 9497dfc commit c312302
Show file tree
Hide file tree
Showing 3 changed files with 1,582 additions and 29 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)
![Travis (.org)](https://img.shields.io/travis/PicGo/PicGo-Core.svg?style=flat-square)
![npm](https://img.shields.io/npm/v/picgo.svg?style=flat-square)
[![PicGo Convention](https://img.shields.io/badge/picgo-convention-blue.svg?style=flat-square)](https://github.com/PicGo/bump-version)

![](https://raw.githubusercontent.com/Molunerfinn/test/master/picgo/picgo-core-fix.jpg)

Expand Down
30 changes: 25 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,36 @@
"patch": "npm version patch && git push origin master && git push origin --tags",
"minor": "npm version minor && git push origin master && git push origin --tags",
"major": "npm version major && git push origin master && git push origin --tags",
"precommit-msg": "echo \"Start to lint your code...\" && exit 0"
"cz": "git-cz",
"release": "bump-version"
},
"keywords": [
"picture",
"upload",
"util"
],
"precommit": [
"precommit-msg",
"lint"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./node_modules/@picgo/bump-version/.cz-config.js"
}
},
"commitlint": {
"extends": ["./node_modules/@picgo/bump-version/commitlint-picgo"]
},
"author": "Molunerfinn",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@picgo/bump-version": "^1.0.1",
"@types/cross-spawn": "^6.0.0",
"@types/fs-extra": "^5.0.4",
"@types/image-size": "^0.0.29",
Expand All @@ -42,7 +58,11 @@
"@types/node": "^10.5.2",
"@types/request-promise-native": "^1.0.15",
"@types/resolve": "^0.0.8",
"commitizen": "^3.0.7",
"conventional-changelog": "^3.0.6",
"copyfiles": "^2.1.0",
"cz-customizable": "^5.10.0",
"husky": "^1.3.1",
"pre-commit": "^1.2.2",
"tslint": "^5.10.0",
"tslint-config-standard": "^8.0.1",
Expand Down
Loading

0 comments on commit c312302

Please sign in to comment.