-
-
Notifications
You must be signed in to change notification settings - Fork 405
/
package.json
141 lines (141 loc) · 4.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"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.*",
"/scss"
],
"version": "3.11.1",
"scripts": {
"dev": "parcel ./example/dev.html --open --port 2235",
"build:index": "cross-env NODE_ENV=production rollup -c",
"build:locale": "cross-env NODE_ENV=production rollup -c rollup.locale.config.js",
"build:css": "sass --style=compressed --no-source-map src/style/index.scss index.css && postcss index.css --use autoprefixer -o index.css --no-map && cp -R src/style scss",
"build": "npm run test && npm run clean && npm run build:index && npm run build:css && npm run build:locale",
"clean": "rimraf scss locale index.*",
"lint": "eslint src/**/*.{js,vue}",
"deploy:build": "cross-env NODE_ENV=production parcel build ./example/index.html --public-url ./ --out-dir _site --no-source-maps --no-minify",
"deploy": "bash build/gh-pages-deploy.sh",
"format": "prettier --write src/**/*",
"test": "npm run lint && 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",
"peerDependencies": {
"vue": "^2.5.0"
},
"dependencies": {
"date-format-parse": "^0.2.7"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.5.5",
"@babel/runtime": "^7.7.2",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"@vue/babel-preset-jsx": "^1.1.2",
"@vue/component-compiler-utils": "^3.0.0",
"@vue/test-utils": "^1.1.1",
"acorn": "^7.0.0",
"autoprefixer": "^9.7.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.9.0",
"conventional-changelog-cli": "^2.0.25",
"core-js": "^3.3.5",
"coveralls": "^3.0.7",
"cross-env": "^6.0.3",
"date-fns": "^2.16.1",
"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": "^6.0.0",
"flush-promises": "^1.0.2",
"highlight.js": "^10.4.1",
"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",
"postcss-cli": "^6.1.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.6",
"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"
]
}