|
55 | 55 | "e2e": "node test/e2e/runner.js",
|
56 | 56 | "test": "npm run unit",
|
57 | 57 | "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
|
58 |
| - "release": "cross-env NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.js && cross-env NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.min.js", |
| 58 | + "release": "cross-env NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.js && cross-env NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.min.js && standard-version", |
59 | 59 | "prepublishOnly": "yarn run lint && yarn run test && yarn run build",
|
60 | 60 | "docs:dev": "vuepress dev docs",
|
61 |
| - "docs:build": "vuepress build docs" |
| 61 | + "docs:build": "vuepress build docs", |
| 62 | + "commit": "cz" |
62 | 63 | },
|
63 | 64 | "peerDependencies": {
|
64 | 65 | "chart.js": ">= 2.5"
|
|
71 | 72 | "@babel/core": "^7.0.0-beta.42",
|
72 | 73 | "@babel/preset-env": "^7.0.0-beta.42",
|
73 | 74 | "@babel/preset-stage-2": "^7.0.0-beta.42",
|
| 75 | + "@commitlint/cli": "^15.0.0", |
| 76 | + "@commitlint/config-conventional": "^15.0.0", |
74 | 77 | "@types/chart.js": "^2.7.55",
|
75 | 78 | "babel-loader": "8.0.0-beta.0",
|
76 | 79 | "chai": "^3.5.0",
|
77 | 80 | "chart.js": "^2.8.0",
|
78 | 81 | "chromedriver": "^2.28.0",
|
| 82 | + "commitizen": "^4.2.4", |
79 | 83 | "connect-history-api-fallback": "^1.1.0",
|
80 | 84 | "cross-env": "^5.1.1",
|
81 | 85 | "cross-spawn": "^5.1.0",
|
82 | 86 | "css-loader": "^0.28.0",
|
| 87 | + "cz-conventional-changelog": "3.3.0", |
83 | 88 | "eslint": "^3.19.0",
|
84 | 89 | "eslint-config-standard": "^10.2.1",
|
85 | 90 | "eslint-friendly-formatter": "^2.0.7",
|
|
121 | 126 | "shelljs": "^0.7.7",
|
122 | 127 | "sinon": "^2.1.0",
|
123 | 128 | "sinon-chai": "^2.9.0",
|
| 129 | + "standard-version": "^9.3.2", |
124 | 130 | "url-loader": "^0.5.8",
|
125 | 131 | "vue": "2.5.17",
|
126 | 132 | "vue-hot-reload-api": "2.3.1",
|
|
0 commit comments