2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-24 08:30:35 +03:00

build: auto generate changelog

This commit is contained in:
mxie
2018-12-12 15:36:42 +08:00
parent bb91abd8c6
commit 342a7a18c2
2 changed files with 5331 additions and 2851 deletions
+5297 -2838
View File
File diff suppressed because it is too large Load Diff
+34 -13
View File
@@ -12,23 +12,11 @@
"demo": "cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.demo.config.js", "demo": "cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.demo.config.js",
"build": "npm run lint && npm test && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.deploy.config.js", "build": "npm run lint && npm test && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.deploy.config.js",
"lint": "eslint src/**/* test/**/*", "lint": "eslint src/**/* test/**/*",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"test:push": "jest --coverage --coverageReporters=text-lcov | coveralls", "test:push": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test": "jest", "test": "jest",
"release": "bash build/release.sh" "release": "bash build/release.sh"
}, },
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
}
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/mengxiong10/vue2-datepicker.git" "url": "git+https://github.com/mengxiong10/vue2-datepicker.git"
@@ -47,6 +35,8 @@
"fecha": "^2.3.3" "fecha": "^2.3.3"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@vue/test-utils": "^1.0.0-beta.20", "@vue/test-utils": "^1.0.0-beta.20",
"autoprefixer": "^7.2.6", "autoprefixer": "^7.2.6",
"babel-core": "^6.26.3", "babel-core": "^6.26.3",
@@ -74,7 +64,9 @@
"eslint-plugin-vue": "^4.5.0", "eslint-plugin-vue": "^4.5.0",
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"highlight.js": "^9.12.0", "highlight.js": "^9.12.0",
"husky": "^1.2.0",
"jest": "^23.0.1", "jest": "^23.0.1",
"lint-staged": "^8.1.0",
"mini-css-extract-plugin": "^0.4.0", "mini-css-extract-plugin": "^0.4.0",
"node-sass": "^4.9.0", "node-sass": "^4.9.0",
"optimize-css-assets-webpack-plugin": "^4.0.2", "optimize-css-assets-webpack-plugin": "^4.0.2",
@@ -89,6 +81,35 @@
"webpack-dev-server": "^3.1.4", "webpack-dev-server": "^3.1.4",
"webpack-merge": "^4.1.2" "webpack-merge": "^4.1.2"
}, },
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -x @commitlint/config-conventional -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"config": { "config": {
"commitizen": { "commitizen": {
"path": "./node_modules/cz-conventional-changelog" "path": "./node_modules/cz-conventional-changelog"