forked from chrisdavies/tiny-date-picker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
56 lines (56 loc) · 2.51 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
{
"name": "tiny-date-picker",
"version": "3.2.8",
"description": "A small, dependency-free date picker",
"main": "dist/tiny-date-picker.js",
"scripts": {
"start": "concurrently \"npm run build:watch\" \"npm run serve\"",
"selenium": "concurrently \"java -jar selenium-server-standalone-3.0.1.jar\" \"npm start\"",
"serve": "http-server . -c-1 -p 8080",
"test": "jest",
"build": "concurrently \"npm run build:dr\" \"npm run build:dp\"",
"build:watch": "concurrently \"npm run build:dr -- --watch\" \"npm run build:dp -- --watch\"",
"build:dr": "rollup src/date-range-picker.js --output.format umd --name DateRangePicker --output.file dist/date-range-picker.js",
"build:dp": "rollup src/index.js --output.format umd --name TinyDatePicker --output.file dist/tiny-date-picker.js",
"min": "concurrently \"npm run min:dpcss\" \"npm run min:dpjs\" \"npm run min:rpcss\" \"npm run min:rpjs\"",
"min:dpcss": "uglifycss tiny-date-picker.css > tiny-date-picker.min.css && echo 'Minified CSS:' && cat tiny-date-picker.min.css | gzip -9f | wc -c",
"min:dpjs": "uglifyjs dist/tiny-date-picker.js --source-map \"filename='./dist/tiny-date-picker.min.js.map'\" -m -c -o dist/tiny-date-picker.min.js && echo 'Minified JS:' && cat dist/tiny-date-picker.min.js | gzip -9f | wc -c",
"min:rpcss": "uglifycss date-range-picker.css > date-range-picker.min.css && echo 'Minified CSS:' && cat date-range-picker.min.css | gzip -9f | wc -c",
"min:rpjs": "uglifyjs dist/date-range-picker.js --source-map \"filename='./dist/date-range-picker.min.js.map'\" -m -c -o dist/date-range-picker.min.js && echo 'Minified JS:' && cat dist/date-range-picker.min.js | gzip -9f | wc -c"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chrisdavies/tiny-date-picker.git"
},
"keywords": [
"date",
"picker",
"date",
"chooser",
"calendar"
],
"author": "Chris Davies <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/chrisdavies/tiny-date-picker/issues"
},
"jest": {
"testRegex": ".*\\.test\\.js$",
"moduleFileExtensions": [
"js"
]
},
"homepage": "https://github.com/chrisdavies/tiny-date-picker#readme",
"devDependencies": {
"babel": "^6.23.0",
"babel-jest": "^22.4.3",
"babel-preset-es2015": "^6.24.1",
"concurrently": "^3.5.1",
"http-server": "^0.11.1",
"jest": "^22.4.2",
"rollup": "^0.57.1",
"selenium-webdriver": "^4.0.0-alpha.1",
"uglify-js": "^3.3.16",
"uglifycss": "0.0.29"
}
}