2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-18 05:40:35 +03:00

refactor: 3.0

This commit is contained in:
mengxiong10
2019-11-10 17:47:30 +08:00
parent 72024440d7
commit 4875dc6b3d
165 changed files with 23248 additions and 21723 deletions
+132 -121
View File
@@ -1,121 +1,132 @@
{
"name": "vue2-datepicker",
"description": "A Datepicker Component For Vue2",
"main": "lib/index.js",
"files": [
"lib",
"src"
],
"version": "2.13.3",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --hot --open --config build/webpack.dev.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",
"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": "jest",
"release": "bash build/git.sh && bash build/release.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mengxiong10/vue2-datepicker.git"
},
"keywords": [
"vue",
"datepicker"
],
"author": "xiemengxiong",
"license": "MIT",
"bugs": {
"url": "https://github.com/mengxiong10/vue2-datepicker/issues"
},
"homepage": "https://github.com/mengxiong10/vue2-datepicker#readme",
"peerDependencies": {
"vue": ">=2.4.0"
},
"dependencies": {
"fecha": "^2.3.3"
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@vue/test-utils": "^1.0.0-beta.20",
"autoprefixer": "^7.2.6",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-jest": "^23.0.1",
"babel-loader": "^7.1.4",
"babel-plugin-jsx-v-model": "^2.0.3",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-3": "^6.24.1",
"coveralls": "^3.0.1",
"cross-env": "^5.1.6",
"css-loader": "^0.25.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"eslint-plugin-vue": "^4.5.0",
"file-loader": "^1.1.11",
"highlight.js": "^9.12.0",
"husky": "^1.2.0",
"jest": "^23.0.1",
"lint-staged": "^8.1.0",
"mini-css-extract-plugin": "^0.4.0",
"node-sass": "^4.13.0",
"optimize-css-assets-webpack-plugin": "^4.0.2",
"postcss-loader": "^2.1.5",
"sass-loader": "^6.0.7",
"vue": "^2.5.16",
"vue-jest": "^2.6.0",
"vue-loader": "^15.2.1",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.9.1",
"webpack-cli": "^2.1.4",
"webpack-dev-server": "^3.1.4",
"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": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
{
"name": "vue2-datepicker",
"description": "A Datepicker Component For Vue2",
"main": "index.js",
"module": "index.esm.js",
"alias": {
"vue2-datepicker": "./src/index.js"
},
"files": [
"/locale",
"/index.*"
],
"version": "2.12.0",
"scripts": {
"dev": "parcel ./example/index.html --open --port 2235",
"build:index": "rollup -c",
"build:locale": "rollup -c rollup.locale.config.js",
"build:css": "sass --style=compressed --no-source-map src/style/index.scss index.css",
"build": "npm run lint && npm run test && npm run clean && npm run build:index && npm run build:css && npm run build:locale",
"clean": "rimraf locale index.*",
"lint": "eslint src/**/*.{js,vue}",
"deploy:build": "parcel build ./example/index.html --public-url ./ --out-dir _site --no-source-maps --no-minify",
"format": "prettier --write src/**/*",
"test": "jest",
"cov": "jest --coverage --coverageReporters=text-lcov | coveralls",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release": "bash build/git.sh && bash build/release.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mengxiong10/vue2-datepicker.git"
},
"keywords": [
"vue",
"calendar",
"datepicker",
"datetimepicker"
],
"author": "xiemengxiong",
"license": "MIT",
"bugs": {
"url": "https://github.com/mengxiong10/vue2-datepicker/issues"
},
"homepage": "https://github.com/mengxiong10/vue2-datepicker#readme",
"dependencies": {
"date-fns": "^2.0.1",
"date-format-parse": "^0.2.3"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.0.0",
"@vue/component-compiler-utils": "^3.0.0",
"@vue/test-utils": "^1.0.0-beta.29",
"acorn": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-vue-jsx": "^4.0.1",
"conventional-changelog-cli": "^2.0.25",
"core-js": "^3.3.5",
"eslint": "^6.2.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-vue": "^5.2.3",
"flush-promises": "^1.0.2",
"highlight.js": "^9.15.10",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-serializer-vue": "^2.0.2",
"lint-staged": "^9.4.2",
"marked": "^0.7.0",
"parcel-bundler": "^1.12.3",
"rimraf": "^3.0.0",
"rollup": "^1.26.0",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-vue": "^5.1.2",
"sass": "^1.22.10",
"vue": "^2.6.10",
"vue-hot-reload-api": "^2.3.3",
"vue-jest": "^3.0.5",
"vue-template-compiler": "^2.6.10"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"snapshotSerializers": [
"jest-serializer-vue"
],
"moduleNameMapper": {
"vue2-datepicker": "<rootDir>/src"
},
"coverageReporters": [
"text",
"text-summary"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -x @commitlint/config-conventional -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{js,vue}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie < 10"
]
}