forked from QwikDev/partytown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.32 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
{
"name": "@builder.io/partytown",
"version": "0.8.1",
"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"
},
"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": "npm run build && cd docs/site && npm i && npm run build && node ../../scripts/copy-site.cjs",
"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",
"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",
"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"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.19.5",
"@playwright/test": "^1.17.1",
"@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.17.2",
"prettier": "^2.6.0",
"rollup": "^3.29.1",
"tslib": "^2.3.1",
"tsm": "^2.2.1",
"typescript": "^4.6.2",
"uvu": "^0.5.3"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 100,
"useTabs": false,
"quoteProps": "consistent"
},
"author": "Builder.io Team",
"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"
}
}