Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.51 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 3.51 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
{
"name": "preact-devtools",
"version": "5.1.0",
"description": "Preact Devtools Extension",
"main": "dist/preact-devtools.js",
"module": "dist/preact-devtools.module.js",
"types": "types/devtools.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/inline/types/shells/shared/panel/panel.d.ts",
"import": "./dist/inline/panel/panel.js"
},
"./client": {
"types": "./dist/inline/types/shells/shared/installHook.d.ts",
"import": "./dist/inline/client.js"
}
},
"scripts": {
"type-check": "tsc --noEmit && tsc -p tsconfig.vitest.json --noEmit",
"prebuild": "npm run type-check",
"prepublishOnly": "npm run run build:inline",
"build": "node tools/build.mjs --browser chrome,edge,firefox,inline && npm run build:inline:types",
"build:chrome": "node tools/build.mjs --browser chrome",
"build:edge": "node tools/build.mjs --browser edge",
"build:firefox": "node tools/build.mjs --browser firefox",
"build:inline:types": "tsc -p tsconfig.inline.json",
"build:inline": "node tools/build.mjs --browser inline && tsc -p tsconfig.inline.json",
"archive": "git archive --format zip --output dist/source-code.zip main",
"lint": "oxlint",
"format": "oxfmt --write",
"format:check": "oxfmt --check",
"test": "vitest run --config vitest.config.ts",
"test:e2e": "node tools/fetch-preact-versions.mjs && playwright test",
"test:e2e:10": "PREACT_VERSION=10 npm run test:e2e",
"test:e2e:11": "PREACT_VERSION=11 npm run test:e2e",
"test:e2e:git": "PREACT_VERSION=git npm run test:e2e",
"test:e2e:all": "npm run test:e2e:10 && npm run test:e2e:11",
"dev": "npm run dev:serve",
"dev:serve": "vite test-e2e/fixtures --port 8100",
"run:chrome": "node tools/build.mjs --browser chrome --debug && mkdir -p ./profiles/chrome && node tools/run-chrome.js",
"run:firefox": "node tools/build.mjs --browser firefox --debug && mkdir -p ./profiles/firefox && web-ext run --verbose --devtools --source-dir ./dist/firefox-debug/ --start-url https://preactjs.com --firefox-profile=./profiles/firefox --keep-profile-changes",
"release": "node tools/release.js"
},
"repository": {
"type": "git",
"url": "https://github.com/marvinhagemeister/preact-devtools.git"
},
"author": "Marvin Hagemeister <hello@marvinh.dev>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^8.0.6",
"@babel/plugin-syntax-typescript": "^8.0.3",
"@babel/plugin-transform-react-jsx": "^8.0.1",
"@playwright/test": "^1.63.0",
"@preact/signals": "^2.11.2",
"@preact/signals-core": "^1.14.4",
"@prefresh/core": "^1.5.11",
"@prefresh/utils": "^1.2.1",
"@prefresh/vite": "^4.0.1",
"@testing-library/preact": "^3.2.4",
"@types/archiver": "^8.0.0",
"@types/babel__core": "^7.20.5",
"@types/chrome": "^0.3.0",
"@types/node": "^26.6.3",
"archiver": "^8.0.0",
"babel-plugin-helpers": "^0.1.1",
"babel-plugin-transform-define": "^2.1.4",
"babel-plugin-transform-jsx-to-htm": "^2.2.0",
"babel-plugin-transform-rename-properties": "^0.1.0",
"cross-env": "^10.1.0",
"esbuild": "^0.28.2",
"jsdom": "^30.1.0",
"kolorist": "^1.8.0",
"lightningcss": "^1.33.0",
"mri": "^1.2.0",
"oxfmt": "^0.48.0",
"oxlint": "^1.70.0",
"preact": "^10.29.8",
"tar": "^7.5.22",
"typescript": "^7.0.2",
"vite": "^8.3.1",
"vitest": "^5.0.1",
"web-ext": "^10.6.0"
},
"dependencies": {
"errorstacks": "^2.4.2",
"htm": "^3.1.1"
},
"peerDependencies": {
"preact": "10.x || 11.x || >=11.0.0-beta.0 <11.0.0-experimental.0 || >=11.0.0-rc.0 <11.0.0"
},
"files": [
"types/",
"dist/inline/",
"README.md",
"LICENSE"
]
}