-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
73 lines (73 loc) · 2.39 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
{
"name": "ripplet.js",
"version": "1.1.0",
"description": "Fully controllable vanilla-js material design ripple effect generator",
"main": "./umd/ripplet.js",
"module": "./es/ripplet.js",
"jsnext:main": "./es/ripplet.js",
"types": "./es/ripplet.d.ts",
"unpkg": "./umd/ripplet.min.js",
"files": [
"umd",
"es",
"src"
],
"prettier": {
"printWidth": 140,
"endOfLine": "lf",
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"arrowParens": "avoid"
},
"scripts": {
"build": "npm run clean && npm run lint && npm run build:umd && npm run build:es && npm run build:demo",
"build:umd": "npm run build:umd:types && npm run build:umd:main && npm run build:umd:declarative",
"build:umd:main": "rollup -c -n ripplet -i src/ripplet -o umd/ripplet.js && uglifyjs -m -c join_vars=true -o umd/ripplet.min.js umd/ripplet.js",
"build:umd:declarative": "rollup -c -n ripplet -i src/ripplet-declarative -o umd/ripplet-declarative.js && uglifyjs -m -c join_vars=true -o umd/ripplet-declarative.min.js umd/ripplet-declarative.js",
"build:umd:types": "tsc -p . -m umd --outDir ./umd -d --emitDeclarationOnly",
"build:es": "tsc -p . -m es2015 --outDir ./es -d",
"build:demo": "copyfiles umd/* docs/",
"watch": "rollup -w -c -n ripplet -i src/ripplet -o umd/ripplet.js",
"clean": "rimraf umd es",
"lint": "tslint -p .",
"verify": "npm run verify:install && npm run verify:build && npm run verify:open",
"verify:install": "subpkg i",
"verify:clean": "rimraf verify/*/dist",
"verify:build": "npm run verify:clean && subpkg run build",
"verify:open": "opener ./verify/verify.html",
"test": "echo \"Error: no test specified\" && exit 1"
},
"subPackages": [
"verify/rollup",
"verify/rollup-declarative",
"verify/webpack",
"verify/webpack1",
"verify/webpack-ts",
"verify/gatsby"
],
"keywords": [
"ripple",
"waves",
"material",
"material-design",
"vanilla-js",
"typescript"
],
"license": "WTFPL",
"repository": "luncheon/ripplet.js",
"devDependencies": {
"copyfiles": "^2.4.1",
"opener": "^1.5.2",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.48.0",
"rollup-plugin-summary": "^1.3.0",
"subpackage": "1.1.0",
"terser": "^5.7.0",
"tslint": "^6.1.3",
"typescript": "^4.2.4",
"uglify-js": "^3.13.6",
"umd": "^3.0.3"
}
}