-
Notifications
You must be signed in to change notification settings - Fork 443
/
package.json
146 lines (146 loc) · 4.78 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@qwik.dev/partytown",
"version": "0.11.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",
"engines": {
"node": ">=18.0.0"
},
"packageManager": "[email protected]",
"exports": {
"./integration": {
"types": "./integration/index.d.ts",
"import": "./integration/index.mjs",
"require": "./integration/index.cjs"
},
"./integration/index.mjs": "./integration/index.mjs",
"./integration/index.cjs": "./integration/index.cjs",
"./react": {
"types": "./react/index.d.ts",
"import": "./react/index.mjs",
"require": "./react/index.cjs"
},
"./react/index.mjs": "./react/index.mjs",
"./react/index.cjs": "./react/index.cjs",
"./services/index.mjs": "./services/index.mjs",
"./services/index.cjs": "./services/index.cjs",
"./services": {
"types": "./services/index.d.ts",
"import": "./services/index.mjs",
"require": "./services/index.cjs"
},
"./utils": {
"types": "./utils/index.d.ts",
"import": "./utils/index.mjs",
"require": "./utils/index.cjs"
},
"./utils/index.mjs": "./utils/index.mjs",
"./utils/index.cjs": "./utils/index.cjs",
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.cjs"
}
},
"bin": "bin/partytown.cjs",
"files": [
"bin/partytown.cjs",
"index.cjs",
"index.mjs",
"index.d.ts",
"integration/",
"lib/",
"react/",
"services/",
"utils/"
],
"scripts": {
"build": "tsc && rollup -c scripts/rollup.config.js",
"build.prod": "tsc && rollup -c scripts/rollup.config.js --configReleaseBuild",
"build.site": "cd docs && npm i && npm run build",
"build.watch": "rollup -c scripts/rollup.config.js -w --configDev",
"change": "changeset",
"start": "npm run dev",
"dev": "tsc && concurrently \"npm:build.watch\" \"npm:tsc.watch\" -n build,tsc -c magenta,yellow",
"fmt": "prettier --config package.json --write src scripts",
"fmt.check": "prettier --config package.json --check src scripts",
"fmt.staged": "pretty-quick --staged",
"release": "changeset publish",
"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",
"test.firefox": "playwright test tests/integrations tests/platform --browser=firefox",
"test.nextjs.chromium": "cd tests/nextjs && npm i && playwright test --config playwright.nextjs.ts --browser=chromium",
"test.nextjs.webkit": "cd tests/nextjs && npm i && playwright test --config playwright.nextjs.ts --browser=webkit",
"test.nextjs.firefox": "cd tests/nextjs && npm i && playwright test --config playwright.nextjs.ts --browser=firefox",
"benchmark": "node tests/benchmarks/run.cjs",
"test.unit": "uvu -r tsm tests/unit",
"tsc.watch": "tsc -w"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@changesets/get-github-info": "^0.6.0",
"@changesets/types": "^6.0.0",
"@microsoft/api-extractor": "^7.19.5",
"@playwright/test": "^1.48.2",
"@rollup/plugin-terser": "^0.4.3",
"@types/fs-extra": "^11.0.2",
"@types/node": "^18.17.15",
"@types/react": "^17.0.42",
"concurrently": "^7.0.0",
"domino": "^2.1.6",
"fs-extra": "^11.1.1",
"gzip-size": "^6.0.0",
"np": "^7.6.1",
"playwright": "^1.48.2",
"prettier": "^2.6.0",
"pretty-quick": "^4.0.0",
"rollup": "^3.29.1",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.3.1",
"tsm": "^2.2.1",
"typescript": "^5.6.3",
"uvu": "^0.5.3"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 100,
"useTabs": false,
"quoteProps": "consistent"
},
"homepage": "https://github.com/BuilderIO/partytown#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/BuilderIO/partytown.git"
},
"keywords": [
"web worker",
"3rd-party",
"third-party",
"analytics",
"webapp",
"performance",
"lighthouse",
"core web vitals",
"react"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"dotenv": "^16.4.7"
}
}