-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
39 lines (39 loc) · 1.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
{
"name": "diffhtml-middleware-service-worker",
"version": "1.0.0-beta.30",
"description": "Helps with service workers",
"type": "module",
"main": "dist/cjs/index",
"module": "dist/es/index",
"scripts": {
"prepublishOnly": "npm run build",
"clean": "rm -rf dist/* && mkdir -p dist",
"build": "npm run clean && npm run build-umd && npm run build-cjs && npm run build-esm && npm run build-min",
"build-cjs": "NODE_ENV=cjs babel lib -d dist/cjs && sh ../../post-cjs.sh",
"build-esm": "NODE_ENV=esm babel lib -d dist/es",
"build-umd": "NODE_ENV=umd rollup -c rollup.config.js",
"build-min": "NODE_ENV=min rollup -c rollup.config.js && uglifyjs dist/service-worker.min.js -o dist/service-worker.min.js -m -c",
"watch": "NODE_ENV=umd rollup -c rollup.config.js -w"
},
"keywords": [
"diffhtml",
"service workers",
"middleware"
],
"author": "Tim Branyen (@tbranyen)",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"babel-preset-diffhtml-imports": "^1.0.0-beta.30",
"diffhtml": "^1.0.0-beta.30",
"rollup": "^1.21.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-visualizer": "^2.6.0",
"rollup-watch": "^4.3.1",
"uglify-js": "^3.12.4"
},
"gitHead": "091b497588f6f48221630431e2f1eeb7f2db37cb"
}