Skip to content

Commit

Permalink
✨ feat: add changelog tools
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jan 18, 2021
1 parent c92addd commit a2d1b74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
File renamed without changes.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "power-yuque",
"version": "0.0.0-development",
"version": "0.1.0",
"description": "a chrome plugin to enhance yuque",
"private": true,
"author": "Arvin Xu(arvinx@foxmail.com)",
Expand All @@ -21,6 +21,9 @@
"test": "umi-test",
"test:update": "UPDATE=1 umi-test --update-snapshot",
"test:coverage": "umi-test --coverage",
"--------- ": "",
"changelog": "conventional-changelog -p gitmoji-config -i CHANGELOG.md -s -r 0",
"semantic-release": "semantic-release",
"--------- ": "",
"clean": "rm -rf es lib dist build coverage e2e/dist packages/.umi .eslintcache",
"postinstall": "umi generate tmp",
Expand All @@ -30,8 +33,7 @@
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ",
"prettier": "prettier -c --write \"**/**\"",
"semantic-release": "semantic-release"
"prettier": "prettier -c --write \"**/**\""
},
"lint-staged": {
"*.{ts,tsx,js}": [
Expand All @@ -53,7 +55,6 @@
"ahooks": "^2.9.4",
"antd": "^4.6.6",
"classnames": "^2.2.6",
"commitlint-config-gitmoji": "^2.0.0",
"jquery": "^3.5.1",
"prettier": "^1.19.1",
"react": "^16.12.0",
Expand All @@ -76,6 +77,9 @@
"@types/react-test-renderer": "^16.9.3",
"@types/webpack": "^4.41.22",
"@umijs/fabric": "^2.2.2",
"commitlint-config-gitmoji": "^2.0.1",
"conventional-changelog-cli": "^2.1.1",
"conventional-changelog-gitmoji-config": "^1.0.1",
"@umijs/test": "^3.2.22",
"archiver": "^5.2.0",
"babel-jest": "^26.6.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"@@/*": ["src/.umi/*"]
}
},
"exclude": [".eslintrc.js", "commitlint.config.js"]
"exclude": [".eslintrc.js", ".commitlintrc.js"]
}

0 comments on commit a2d1b74

Please sign in to comment.