-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 6.27 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 6.27 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
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
{
"name": "react-devtools-monorepo",
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@10.18.3",
"description": "DevTools for React.js",
"author": "wzc520pyfm",
"license": "MIT",
"homepage": "https://github.com/wzc520pyfm/react-devtools-plus#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/wzc520pyfm/react-devtools-plus.git"
},
"bugs": {
"url": "https://github.com/wzc520pyfm/react-devtools-plus/issues"
},
"keywords": [
"react-devtools-plus",
"dx"
],
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"stub:shared": "turbo stub --filter=./packages/shared",
"stub:core": "turbo stub --filter=./packages/react-devtools-core",
"stub:ui": "turbo stub --filter=./packages/react-devtools-ui",
"stub:kit": "turbo stub --filter=./packages/react-devtools-kit",
"stub:overlay": "turbo stub --filter=./packages/react-devtools-overlay",
"stub:scan": "turbo stub --filter=./packages/react-devtools-scan",
"stub:client": "turbo stub --filter=./packages/react-devtools-client",
"stub:devtools": "turbo stub --filter=./packages/react-devtools",
"build:shared": "turbo build --filter=./packages/shared...",
"build:core": "turbo build --filter=./packages/react-devtools-core...",
"build:ui": "turbo build --filter=./packages/react-devtools-ui...",
"build:kit": "turbo build --filter=./packages/react-devtools-kit...",
"build:overlay": "turbo build --filter=./packages/react-devtools-overlay...",
"build:scan": "turbo build --filter=./packages/react-devtools-scan...",
"build:client": "turbo build --filter=./packages/react-devtools-client...",
"build:devtools": "turbo build --filter=./packages/react-devtools...",
"prepare:type": "turbo prepare:type --filter='./packages/*'",
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" nr prepare:type && nr build:ui && nr build:client && turbo stub --concurrency 20",
"dev:ui-story": "turbo dev --filter=./packages/ui-story",
"dev:docs": "pnpm -C docs dev",
"build": "turbo build --filter='!./packages/playground/*' --filter='!./docs'",
"clean": "pnpm clean:cache && pnpm clean:dist",
"clean:cache": "rm -rf .turbo node_modules/.cache; find packages -maxdepth 4 -type d -name '.cache' -exec rm -rf {} + 2>/dev/null; find packages -maxdepth 4 -type d -name '.vite' -exec rm -rf {} + 2>/dev/null; true",
"clean:dist": "find packages -maxdepth 2 -type d -name 'dist' -exec rm -rf {} + 2>/dev/null; find packages -maxdepth 2 -type d -name 'storybook-static' -exec rm -rf {} + 2>/dev/null; true",
"clean:deps": "rm -rf node_modules; find packages -maxdepth 2 -type d -name 'node_modules' -exec rm -rf {} + 2>/dev/null; true",
"clean:all": "pnpm clean:cache && pnpm clean:dist && pnpm clean:deps",
"lint": "NODE_OPTIONS=--import=tsx eslint --config=eslint.config.ts .",
"lint:fix": "pnpm lint --fix",
"prepublishOnly": "npm run build",
"changelog": "changelogen --output CHANGELOG.md",
"prerelease": "npm whoami || (echo '❌ npm not logged in. Please run: npm login' && exit 1)",
"release": "pnpm prerelease && changelogen --output CHANGELOG.md --no-commit && bumpp && pnpm -r publish --access public",
"release:patch": "pnpm prerelease && changelogen --output CHANGELOG.md --no-commit && bumpp patch && pnpm -r publish --access public",
"release:minor": "pnpm prerelease && changelogen --output CHANGELOG.md --no-commit && bumpp minor && pnpm -r publish --access public",
"release:major": "pnpm prerelease && changelogen --output CHANGELOG.md --no-commit && bumpp major && pnpm -r publish --access public",
"release:beta": "pnpm prerelease && changelogen --output CHANGELOG.md --no-commit && bumpp prerelease && pnpm -r publish --access public --tag beta",
"prepare": "simple-git-hooks",
"test": "vitest --environment jsdom",
"play": "turbo dev --filter=./packages/playground/react",
"play:umi": "turbo dev --filter=./packages/playground/umi",
"play:react19": "turbo dev --filter=./packages/playground/react19",
"play:react17": "turbo dev --filter=./packages/playground/react17-webpack4",
"play:webpack": "turbo dev --filter=./packages/playground/react-webpack",
"play:rspack": "turbo dev --filter=./packages/playground/react-rspack",
"play:my-devtools": "turbo dev --filter=./packages/playground/my-devtools-play",
"play:next": "turbo dev --filter=./packages/playground/next",
"play:next:turbo": "pnpm --filter @react-devtools-plus/playground-next dev:turbo",
"play:next:webpack": "pnpm --filter @react-devtools-plus/playground-next dev:webpack"
},
"devDependencies": {
"@antfu/eslint-config": "^5.4.1",
"@antfu/ni": "^25.0.0",
"@arethetypeswrong/cli": "^0.18.2",
"@clack/prompts": "^0.11.0",
"@eslint-react/eslint-plugin": "^1.53.1",
"@types/chrome": "^0.1.24",
"@types/degit": "^2.8.6",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.7.2",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/parser": "^8.46.1",
"@typescript-eslint/utils": "^8.46.1",
"@unocss/eslint-plugin": "^66.5.4",
"archiver": "^7.0.1",
"bumpp": "^10.3.1",
"changelogen": "^0.6.2",
"cross-env": "^10.1.0",
"degit": "^2.8.4",
"eslint": "^9.37.0",
"eslint-plugin-format": "^1.0.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.24",
"eslint-vitest-rule-tester": "^2.2.2",
"fast-glob": "^3.3.3",
"fs-extra": "^11.3.2",
"jsdom": "^26.1.0",
"lint-staged": "^16.2.4",
"npm-run-all2": "^8.0.4",
"picocolors": "^1.1.1",
"pnpm": "^10.18.3",
"progress": "^2.0.3",
"publint": "^0.3.14",
"readdir-glob": "^2.0.1",
"regex-extra": "^0.2.2",
"semver": "^7.7.3",
"simple-git-hooks": "^2.13.1",
"taze": "^19.7.0",
"tsdown": "^0.15.7",
"tsup": "^8.5.0",
"tsx": "^4.20.6",
"turbo": "^2.5.8",
"typescript": "^5.9.3",
"unbuild": "3.6.1",
"unocss": "^66.5.4",
"vite": "^7.1.10",
"vitest": "^3.2.4"
},
"pnpm": {
"ignoredBuiltDependencies": [
"core-js"
],
"onlyBuiltDependencies": [
"electron",
"esbuild"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "node -v"
}
}