-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.06 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
{
"name": "pwaapp",
"version": "1.0.0",
"description": "A complete guide to PWAs. Building a simple Instagram clone.",
"main": "index.js",
"scripts": {
"start": "http-server -c-1",
"minify":"uglifyjs public/src/js/app.js -o public/src/js/app.min.js --compress --mangle && uglifyjs public/src/js/feed.js -o public/src/js/feed.min.js --compress --mangle && uglifyjs public/src/js/fetch.js -o public/src/js/fetch.min.js --compress --mangle && uglifyjs public/src/js/idb.js -o public/src/js/idb.min.js --compress --mangle && uglifyjs public/src/js/promise.js -o public/src/js/promise.min.js --compress --mangle && uglifyjs public/src/js/utility.js -o public/src/js/utility.min.js --compress --mangle",
"generate-sw": "workbox inject:manifest",
"build": "npm run minify && npm run generate-sw"
},
"keywords": [
"pwa",
"progressive",
"web",
"app",
"complete",
"tutorial"
],
"author": "murrow",
"license": "ISC",
"devDependencies": {
"http-server": "^0.11.1",
"uglify-js": "^3.6.0",
"workbox-cli": "^2.1.3"
}
}