-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.74 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
{
"title": "isStandalonePWA",
"name": "is-standalone-pwa",
"version": "0.1.1",
"author": "Faisal Salman <f@faisalman.com>",
"description": "Detect if PWA is running in standalone mode",
"type": "commonjs",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"files": [
"dist"
],
"directories": {
"dist": "dist",
"src": "src",
"test": "test"
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --module commonjs --outDir ./dist/cjs --target es2019",
"build:esm": "tsc --module esnext --moduleResolution bundler --outDir ./dist/esm --target es2019 && echo '{\"type\":\"module\"}' > ./dist/esm/package.json",
"test": "mocha ./test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/faisalman/is-standalone-pwa.git"
},
"keywords": [
"ua-parser-js",
"is-standalone-pwa",
"pwa"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/faisalman/is-standalone-pwa/issues"
},
"homepage": "https://github.com/faisalman/is-standalone-pwa#readme",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/faisalman"
},
{
"type": "opencollective",
"url": "https://opencollective.com/ua-parser-js"
},
{
"type": "paypal",
"url": "https://paypal.me/faisalman"
}
],
"devDependencies": {
"mocha": "^10.2.0",
"typescript": "^5.2.2"
}
}