43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "cloakfetch-gateway",
|
|
"version": "1.0.0",
|
|
"description": "基于 CloakBrowser 的本地浏览器请求转换与下载网关",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"dev": "tsx src/main.ts",
|
|
"web:dev": "vite --config web/vite.config.ts",
|
|
"web:build": "vite build --config web/vite.config.ts",
|
|
"build:server": "tsc",
|
|
"build": "npm run build:server && npm run web:build",
|
|
"start": "node dist/main.js",
|
|
"typecheck": "tsc --noEmit && tsc -p web/tsconfig.json --noEmit",
|
|
"test": "node --import tsx --test \"test/**/*.test.ts\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://192.168.31.120:3000/psc/cloakfetch-gateway.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@fastify/static": "^10.1.2",
|
|
"@fastify/websocket": "^11.3.0",
|
|
"cloakbrowser": "^0.5.1",
|
|
"fastify": "^5.10.0",
|
|
"playwright-core": "^1.61.1",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.1.1",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.4",
|
|
"tsx": "^4.23.1",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.1.5"
|
|
}
|
|
}
|