@linhey/react-debug-inspector 1.0.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +75 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +557 -82
- package/dist/index.mjs +557 -82
- package/package.json +23 -2
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linhey/react-debug-inspector",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "A developer tool to inspect React components in browser and jump to source code.",
|
|
5
5
|
"author": "linhey",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/linhay/react-debug-inspector"
|
|
10
|
+
},
|
|
7
11
|
"main": "./dist/index.js",
|
|
8
12
|
"module": "./dist/index.mjs",
|
|
9
13
|
"types": "./dist/index.d.ts",
|
|
@@ -12,13 +16,30 @@
|
|
|
12
16
|
],
|
|
13
17
|
"scripts": {
|
|
14
18
|
"dev": "tsup src/index.ts --format cjs,esm --watch --dts",
|
|
19
|
+
"dev:test-app": "vite --config vite.config.test.ts",
|
|
15
20
|
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"test:e2e": "playwright test",
|
|
23
|
+
"test:e2e:ui": "playwright test --ui",
|
|
24
|
+
"test:e2e:headed": "playwright test --headed",
|
|
25
|
+
"test:all": "npm run test && npm run test:e2e",
|
|
16
26
|
"prepublishOnly": "npm run build"
|
|
17
27
|
},
|
|
18
28
|
"devDependencies": {
|
|
19
29
|
"@babel/core": "^7.24.0",
|
|
30
|
+
"@playwright/test": "^1.58.2",
|
|
31
|
+
"@types/node": "^25.3.5",
|
|
32
|
+
"@types/react": "^19.2.14",
|
|
33
|
+
"@types/react-dom": "^19.2.3",
|
|
34
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
35
|
+
"jsdom": "^26.1.0",
|
|
36
|
+
"playwright": "^1.58.2",
|
|
37
|
+
"react": "^19.2.4",
|
|
38
|
+
"react-dom": "^19.2.4",
|
|
20
39
|
"tsup": "^8.0.2",
|
|
21
|
-
"typescript": "^5.4.2"
|
|
40
|
+
"typescript": "^5.4.2",
|
|
41
|
+
"vite": "^7.3.1",
|
|
42
|
+
"vitest": "^3.2.4"
|
|
22
43
|
},
|
|
23
44
|
"peerDependencies": {
|
|
24
45
|
"react": ">=16.8.0"
|