-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
60 lines (60 loc) · 2.26 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
{
"name": "clocklet",
"version": "0.3.0",
"description": "An opinionated clock-style vanilla-js timepicker",
"repository": "luncheon/clocklet",
"main": "umd/clocklet.min.js",
"module": "es/clocklet.js",
"types": "es/clocklet.d.ts",
"files": [
"src/script",
"src/style",
"es",
"umd",
"css"
],
"scripts": {
"clean": "rimraf es/ umd/ css/ .docs/ docs/demo.html",
"start": "npm-run-all -p watch:*",
"diff": "publish-diff",
"build": "npm-run-all -p build:es build:umd build:css build:demo",
"build:es": "rimraf es/ && rollup -c -f es -i src/script/template.pug -o es/template.pug.js && copyfiles -f src/script/template.pug.d.ts es/ && tsc -p . --outDir es/",
"build:umd": "rimraf umd/ && rollup -c -n clocklet -i src/script/clocklet.ts -o umd/clocklet.js && uglifyjs -m -c join_vars=true -o umd/clocklet.min.js umd/clocklet.js",
"watch:umd": "rimraf umd/ && rollup -w -c -n clocklet -i src/script/clocklet.ts -o umd/clocklet.js",
"build:css": "rimraf css/ && mkdirp css/ && stylus -o css/ src/style/ && cleancss -O2 --batch --batch-suffix '.min' css/*.css",
"watch:css": "rimraf css/ && mkdirp css/ && stylus -w -o css/ src/style/",
"build:demo": "rimraf .docs/ docs/demo.html && pug -o .docs/ src/demo/demo.pug -O \"{cdnBaseUrl:'..'}\" && pug -o docs/ src/demo/demo.pug -O \"{cdnBaseUrl:'https://cdn.jsdelivr.net/npm/[email protected]'}\"",
"watch:demo": "rimraf .docs/ docs/demo.html && pug -w -o .docs/ src/demo/demo.pug -O \"{cdnBaseUrl:'..'}\""
},
"keywords": [
"timepicker",
"time-picker",
"clockpicker",
"time",
"picker",
"clock",
"vanilla-js"
],
"author": "",
"license": "WTFPL",
"dependencies": {
"lenientime": "github:luncheon/lenientime#79d62bfb2d4774821f53ef1e35eb380b626bfb6e",
"tslib": ">=1.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.4",
"clean-css-cli": "^5.3.3",
"copyfiles": "^2.4.1",
"jstransformer-escape-html": "^1.1.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"publish-diff": "^0.4.1",
"pug-cli": "^1.0.0-alpha6",
"rimraf": "^3.0.2",
"rollup": "^2.56.2",
"rollup-plugin-pug": "^1.1.1",
"stylus": "^0.54.8",
"typescript": "^4.3.5",
"uglify-js": "^3.14.1"
}
}