Skip to content

Commit 68dd527

Browse files
committed
scripts
1 parent e023725 commit 68dd527

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.yarnrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version-tag-prefix ""
2+
version-git-message "%s"
3+
version-git-sign true

package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@
1313
},
1414
"scripts": {
1515
"build": "styleguidist build",
16-
"lint.css.fix": "stylelint \"components/*.css\" --fix",
17-
"lint.css": "stylelint \"components/*.css\"",
18-
"lint.js": "eslint .",
16+
"lint:fix": "stylelint \"components/*.css\" --fix",
17+
"lint:css": "stylelint \"components/*.css\"",
18+
"lint:js": "eslint .",
1919
"lint": "yarn lint.js && yarn lint.css",
20+
"release:breaking": "git checkout master && git pull && yarn version --new-version major && git push --follow-tags",
21+
"release:feature": "git checkout master && git pull && yarn version --new-version minor && git push --follow-tags",
22+
"release:fix": "git checkout master && git pull && yarn version --new-version patch && git push --follow-tags",
2023
"test": "yarn lint",
2124
"watch": "styleguidist server"
2225
},

0 commit comments

Comments
 (0)