-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.25 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
74
75
{
"name": "preact-pwa-install",
"amdName": "preact-pwa-install",
"version": "0.1.2",
"description": "Adds PWA install capability to your Preact app.",
"main": "dist/preact-pwa-install.js",
"minified:main": "dist/preact-pwa-install.min.js",
"module": "src/index.js",
"scripts": {
"build": "npm-run-all transpile optimize minify",
"transpile": "rollup -c -m ${npm_package_main}.map -f umd -n $npm_package_amdName -i $npm_package_module -o $npm_package_main",
"optimize": "uglifyjs $npm_package_main -bc -o $npm_package_main --source-map \"content=${npm_package_main}.map\"",
"minify": "uglifyjs $npm_package_main -mc -o $npm_package_minified_main --source-map \"content=${npm_package_main}.map\"",
"test": "npm-run-all -p lint test:unit",
"lint": "eslint src tests",
"lint:fix": "npm run lint -- --fix",
"test:unit": "mocha --require @babel/register tests/**/*.js",
"docs": "documentation readme src/index.js --section API -q",
"prepublishOnly": "npm run build"
},
"author": "Tony MacDonell <[email protected]>",
"license": "MIT",
"babel": {
"presets": [
"@babel/env"
],
"plugins": [
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"files": [
"src",
"dist"
],
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.4.2",
"@babel/register": "^7.4.0",
"@babel/polyfill": "^7.4.0",
"documentation": "^9.3.1",
"eslint": "^5.15.3",
"eslint-config-synacor": "^3.0.3",
"npm-run-all": "^4.1.5",
"preact": "^10.0.0-alpha.3",
"rollup": "^1.7.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-buble": "^0.19.6",
"uglify-js": "^3.5.1",
"undom": "^0.4.0",
"chai": "^4.2.0",
"mocha": "^6.0.2",
"sinon": "^7.3.0",
"sinon-chai": "^3.3.0"
},
"peerDependencies": {
"preact": "*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tmtek/preact-pwa-install.git"
},
"bugs": {
"url": "https://github.com/tmtek/preact-pwa-install/issues"
},
"homepage": "https://github.com/tmtek/preact-pwa-install#readme"
}