forked from fengyuanchen/datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.42 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
{
"name": "@chenfengyuan/datepicker",
"version": "1.0.10",
"description": "A simple jQuery datepicker plugin.",
"main": "dist/datepicker.common.js",
"module": "dist/datepicker.esm.js",
"browser": "dist/datepicker.js",
"style": "dist/datepicker.css",
"files": [
"src",
"dist",
"i18n"
],
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "postcss src/index.css -o dist/datepicker.css --no-map",
"build:js": "rollup -c",
"clear": "del-cli dist",
"compress": "npm run compress:css && npm run compress:js",
"compress:css": "postcss dist/datepicker.css -u cssnano -o dist/datepicker.min.css --no-map",
"compress:js": "uglifyjs dist/datepicker.js -o dist/datepicker.min.js -c -m --comments /^!/",
"copy": "npm run copy:css && npm run copy:i18n",
"copy:css": "cpy dist/datepicker.css docs/css/",
"copy:i18n": "cpy i18n/* docs/js",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint {src,docs,examples}/**/*.{css,scss,html} --fix",
"lint:js": "eslint src *.js --fix",
"release": "npm run clear && npm run lint && npm run build && npm run compress && npm run copy && npm test",
"start": "npm-run-all --parallel watch:*",
"test": "node-qunit-phantomjs test/index.html --timeout 10",
"watch:css": "postcss src/index.css -o docs/css/datepicker.css -m -w",
"watch:js": "rollup -c -m -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fengyuanchen/datepicker.git"
},
"keywords": [
"date",
"picker",
"datepicker",
"jquery",
"plugin",
"jquery-plugin",
"html",
"css",
"javascript",
"front-end",
"web"
],
"author": {
"name": "Chen Fengyuan",
"url": "https://chenfengyuan.com/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/fengyuanchen/datepicker/issues"
},
"homepage": "https://fengyuanchen.github.io/datepicker",
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"cpy-cli": "^3.1.1",
"create-banner": "^1.0.0",
"cssnano": "^4.1.10",
"del-cli": "^3.0.1",
"eslint": "^7.10.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^4.3.0",
"jquery": "^3.5.1",
"lint-staged": "^10.4.0",
"node-qunit-phantomjs": "^2.1.1",
"npm-run-all": "^4.1.5",
"postcss-cli": "^8.0.0",
"postcss-header": "^3.0.1",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.7.0",
"rollup": "^2.28.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"stylelint": "^13.7.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"uglify-js": "^3.11.0"
},
"peerDependencies": {
"jquery": ">=1.9.1"
},
"publishConfig": {
"access": "public"
},
"browserslist": [
"last 2 versions",
"> 1%",
"not ie <= 8"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,test}/**/*.js|*.conf*.js": [
"eslint --fix",
"git add"
],
"{src,docs}/**/*.{css,scss,html}": [
"stylelint --fix",
"git add"
]
}
}