pingping/package.json

43 lines
1.2 KiB
JSON

{
"name": "pingping",
"version": "1.0.0",
"description": "Pingping - 网络拨测工具",
"private": true,
"workspaces": [
"backend",
"frontend"
],
"scripts": {
"start": "./start.sh",
"stop": "./stop.sh",
"dev": "concurrently \"pnpm --filter backend run dev\" \"pnpm --filter frontend run dev\"",
"build": "pnpm --filter backend run build && pnpm --filter frontend run build",
"start:backend": "pnpm --filter backend run start:daemon",
"start:frontend": "pnpm --filter frontend run start:bg",
"stop:backend": "pnpm --filter backend run stop",
"stop:frontend": "pnpm --filter frontend run stop",
"logs:backend": "pnpm --filter backend run logs",
"logs:frontend": "pnpm --filter frontend run logs",
"install:all": "pnpm install && pnpm --filter backend install && pnpm --filter frontend install"
},
"devDependencies": {
"concurrently": "^8.2.2"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/your-username/pingping.git"
},
"keywords": [
"monitoring",
"network",
"ping",
"traceroute",
"health-check"
],
"author": "Your Name",
"license": "MIT"
}