forked from fengyuanchen/datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.43 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
{
"name": "@chenfengyuan/datepicker",
"description": "A simple jQuery datepicker plugin.",
"version": "1.0.0",
"main": "dist/datepicker.common.js",
"module": "dist/datepicker.esm.js",
"unpkg": "dist/datepicker.js",
"repository": "fengyuanchen/datepicker",
"homepage": "https://fengyuanchen.github.io/datepicker",
"license": "MIT",
"author": {
"name": "Chen Fengyuan",
"url": "https://chenfengyuan.com"
},
"files": [
"src",
"dist",
"i18n"
],
"keywords": [
"date",
"picker",
"datepicker",
"jquery",
"plugin",
"jquery-plugin",
"html",
"css",
"javascript",
"front-end",
"web"
],
"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": "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"
},
"devDependencies": {
"autoprefixer": "^9.1.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"cpy-cli": "^2.0.0",
"create-banner": "^1.0.0",
"cssnano": "^4.0.5",
"del-cli": "^1.1.0",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-import": "^2.12.0",
"jquery": "^3.3.1",
"node-qunit-phantomjs": "^2.0.0",
"npm-run-all": "^4.1.3",
"postcss-cli": "^6.0.0",
"postcss-header": "^1.0.0",
"postcss-import": "^12.0.0",
"postcss-preset-env": "^5.3.0",
"rollup": "^0.63.5",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.4",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-watch": "^4.3.1",
"stylefmt": "^6.0.2",
"uglify-js": "^3.4.6"
},
"peerDependencies": {
"jquery": ">= 1.9.1"
}
}