forked from BuilderIO/partytown
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
114 lines (114 loc) 路 3.47 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@braneproject/partytown",
"version": "0.1.0",
"description": "Relocate resource intensive third-party scripts off of the main thread and into a web worker.",
"license": "MIT",
"main": "index.cjs",
"module": "index.mjs",
"types": "index.d.ts",
"type": "module",
"exports": {
"./integration": {
"import": "./integration/index.mjs",
"require": "./integration/index.cjs"
},
"./integration/index.mjs": "./integration/index.mjs",
"./integration/index.cjs": "./integration/index.cjs",
"./react": {
"import": "./react/index.mjs",
"require": "./react/index.cjs"
},
"./react/index.mjs": "./react/index.mjs",
"./react/index.cjs": "./react/index.cjs",
"./utils": {
"import": "./utils/index.mjs",
"require": "./utils/index.cjs"
},
"./utils/index.mjs": "./utils/index.mjs",
"./utils/index.cjs": "./utils/index.cjs",
"./package.json": "./package.json",
".": {
"import": "./index.mjs",
"require": "./index.cjs"
}
},
"files": [
"index.cjs",
"index.mjs",
"index.d.ts",
"integration/",
"lib/",
"react/",
"utils/"
],
"scripts": {
"build": "tsc && rollup -c scripts/rollup.config.js",
"build.prod": "tsc && rollup -c scripts/rollup.config.js --configApi",
"build.watch": "rollup -c scripts/rollup.config.js -w --configDev",
"start": "npm run dev",
"dev": "tsc && concurrently \"npm:build.watch\" \"npm:tsc.watch\" -n build,tsc -c magenta,yellow",
"release": "npm run build && npm test && np --no-tests",
"serve": "node scripts/serve.cjs 4000",
"serve.test": "node scripts/serve.cjs 4001",
"serve.atomics": "node scripts/serve.cjs 4002 --atomics",
"serve.atomics.test": "node scripts/serve.cjs 4003 --atomics",
"test": "npm run test.unit && npm run test.chromium",
"test.atomics": "playwright test tests/integrations tests/platform --config playwright.atomics.config.ts --browser=chromium",
"test.chromium": "playwright test tests/integrations tests/platform --browser=chromium",
"test.webkit": "playwright test tests/integrations tests/platform --browser=webkit",
"benchmark": "node tests/benchmarks/run.cjs",
"test.unit": "uvu -r tsm tests/unit",
"tsc.watch": "tsc -w",
"version": "npm run build.prod",
"fmt": "prettier --config package.json --write src",
"prepack": "npm run build.prod"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.19.2",
"@playwright/test": "^1.17.1",
"@types/fs-extra": "^9.0.13",
"@types/react": "^17.0.37",
"concurrently": "^6.4.0",
"domino": "^2.1.6",
"fs-extra": "^10.0.0",
"gzip-size": "^6.0.0",
"node-fetch": "^3.1.0",
"np": "^7.6.0",
"playwright": "^1.17.2",
"prettier": "^2.5.1",
"rollup": "^2.61.1",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.3.1",
"tsm": "^2.2.1",
"typescript": "^4.5.4",
"uvu": "^0.5.2"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 100,
"useTabs": false,
"quoteProps": "consistent"
},
"homepage": "https://github.com/braneproject/partytown#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/braneproject/partytown.git"
},
"keywords": [
"web worker",
"3rd-party",
"third-party",
"analytics",
"webapp",
"performance",
"lighthouse",
"core web vitals",
"react"
],
"publishConfig": {
"access": "public"
}
}