forked from fengyuanchen/pickerjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
135 lines (135 loc) · 3.73 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
{
"name": "pickerjs",
"version": "1.2.1",
"description": "JavaScript date time picker.",
"main": "dist/picker.common.js",
"module": "dist/picker.esm.js",
"browser": "dist/picker.js",
"types": "types/index.d.ts",
"style": "dist/picker.css",
"files": [
"src",
"dist",
"types"
],
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "postcss src/index.css -o dist/picker.css --no-map",
"build:js": "rollup -c",
"clear": "del-cli dist",
"codecov": "cat coverage/lcov.info | codecov",
"compress": "npm run compress:css && npm run compress:js",
"compress:css": "postcss dist/picker.css -u cssnano -o dist/picker.min.css --no-map",
"compress:js": "uglifyjs dist/picker.js -o dist/picker.min.js -c -m --comments /^!/",
"copy": "npm run copy:css && npm run copy:i18n",
"copy:css": "cpy dist/picker.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 test *.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": "cross-env NODE_ENV=test karma start test/karma.conf.js",
"watch:css": "postcss src/index.css -o docs/css/picker.css -m -w",
"watch:js": "rollup -c -m -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fengyuanchen/pickerjs.git"
},
"keywords": [
"date",
"time",
"picker",
"datepicker",
"timepicker",
"html",
"css",
"javascript",
"front-end",
"web"
],
"author": {
"name": "Chen Fengyuan",
"url": "https://chenfengyuan.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/fengyuanchen/pickerjs/issues"
},
"homepage": "https://fengyuanchen.github.io/pickerjs",
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"babel-plugin-istanbul": "^5.1.1",
"chai": "^4.2.0",
"change-case": "^3.1.0",
"codecov": "^3.2.0",
"cpy-cli": "^2.0.0",
"create-banner": "^1.0.0",
"cross-env": "^5.2.0",
"cssnano": "^4.1.10",
"del-cli": "^1.1.0",
"eslint": "^5.14.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.16.0",
"husky": "^1.3.1",
"karma": "^4.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage-istanbul-reporter": "^2.0.5",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.0",
"lint-staged": "^8.1.4",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^6.1.1",
"postcss-header": "^1.0.0",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.5.0",
"postcss-url": "^8.0.0",
"puppeteer": "^1.12.2",
"rollup": "^1.2.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-watch": "^4.3.1",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^2.0.0",
"uglify-js": "^3.4.9"
},
"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": {
"linters": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{css,scss,html}": [
"stylelint --fix",
"git add"
]
},
"ignore": [
"{dist,docs,i18n}/**/*.js",
"*.min.*"
]
}
}