-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.39 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.39 KB
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
{
"name": "phantom-build",
"version": "0.4.2",
"description": "Automatic code-splitting for React — extracts event handlers into lazy-loaded chunks and wraps below-fold components in React.lazy + Suspense at build time",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./vite": {
"types": "./dist/vite.d.ts",
"import": "./dist/vite.js"
},
"./webpack": {
"types": "./dist/webpack.d.ts",
"import": "./dist/webpack.js"
},
"./rspack": {
"types": "./dist/rspack.d.ts",
"import": "./dist/rspack.js"
},
"./runtime": {
"types": "./dist/runtime/index.d.ts",
"import": "./dist/runtime/index.js"
}
},
"bin": {
"phantom": "dist/cli.js"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"prerelease": "npm run typecheck && npm test",
"release": "./scripts/release.sh",
"release:patch": "npm run prerelease && npm version patch && git push && git push --tags && npm publish",
"release:minor": "npm run prerelease && npm version minor && git push && git push --tags && npm publish",
"release:major": "npm run prerelease && npm version major && git push && git push --tags && npm publish",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Phoenixrr2113/phantom.git"
},
"bugs": {
"url": "https://github.com/Phoenixrr2113/phantom/issues"
},
"homepage": "https://github.com/Phoenixrr2113/phantom#readme",
"keywords": [
"react",
"code-splitting",
"lazy-loading",
"vite",
"webpack",
"rspack",
"build-plugin",
"event-handlers",
"performance",
"suspense",
"unplugin"
],
"author": "Randy Wilson",
"dependencies": {
"eslint-scope": "^8.3.0",
"esrap": "^2.2.4",
"oxc-parser": "^0.72.1",
"unplugin": "^2.3.2"
},
"devDependencies": {
"@types/eslint-scope": "^3.7.7",
"@types/estree": "^1.0.6",
"@types/node": "^25.5.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"pnpm": {
"overrides": {
"rollup": "^4.59.0"
}
}
}