-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
43 lines (43 loc) · 1.56 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
{
"name": "pwa-feature-detector",
"version": "1.0.10",
"description": "Progressive Web App 🕵️ Feature Detector",
"scripts": {
"lint": "eslint src/ --fix",
"build:img": "mkdir -p docs && imagemin img/* --out-dir=docs",
"build:html": "mkdir -p docs && html-minifier --collapse-boolean-attributes --collapse-whitespace --minify-css --custom-attr-collapse /on/ --remove-attribute-quotes --process-scripts application/json --sort-attributes --sort-class-name --minify-urls -o docs/index.html src/index.html",
"build:js": "mkdir -p docs && minify src/main.js --out-file docs/main.min.js && minify src/sw.js --out-file docs/sw.min.js",
"build:all": "rm -rf docs && npm run build:img && npm run build:html && npm run build:js && cp src/manifest.webmanifest docs/manifest.webmanifest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomayac/pwa-feature-detector.git"
},
"author": "Thomas Steiner <steiner.thomas@gmail.com> (http://blog.tomayac.com/)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/tomayac/pwa-feature-detector/issues"
},
"homepage": "https://github.com/tomayac/pwa-feature-detector#readme",
"devDependencies": {
"babel-minify": "^0.5.0",
"eslint": "^6.1.0",
"eslint-config-google": "^0.13.0",
"html-minifier": "^4.0.0",
"imagemin-cli": "^7.0.0"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 7
},
"extends": [
"google"
],
"env": {
"es6": true,
"browser": true,
"serviceworker": true,
"node": true
}
}
}