-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 966 Bytes
/
package.json
File metadata and controls
36 lines (36 loc) · 966 Bytes
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
{
"name": "@refresh-dev/rce",
"version": "0.1.6",
"type": "module",
"bin": {
"rce": "bin/rce.mjs"
},
"files": [
"build",
"bin",
"vendor",
"public",
"ui/src",
"ui/index.html",
"ui/tsconfig.json"
],
"scripts": {
"build:ui": "esbuild ui/src/main.ts --bundle --outfile=public/app.js --sourcemap --target=es2020 --format=esm && cp ui/index.html public/index.html",
"build:cli": "tsc && node -e \"import{chmodSync}from'fs';chmodSync('bin/rce.mjs',0o755)\"",
"build": "npm run build:ui && npm run build:cli",
"dev": "npm run build:ui -- --watch",
"prepublishOnly": "npm run build",
"postinstall": "npx --yes playwright install chromium --with-deps || true"
},
"dependencies": {
"playwright": "^1.47.0",
"diff-dom": "^5.0.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/ws": "^8.5.0",
"esbuild": "^0.19.0",
"typescript": "^5.5.0"
}
}