Files
ai/package.json
2025-07-08 00:52:10 +08:00

59 lines
1.8 KiB
JSON

{
"name": "pandora",
"version": "1.0.0",
"description": "网站账号共享系统",
"private": true,
"workspaces": [
"frontend",
"backend"
],
"scripts": {
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:backend": "cd backend && npm run dev",
"dev:frontend": "cd frontend && npm run dev",
"build": "npm run build:backend && npm run build:frontend",
"build:backend": "cd backend && npm run build",
"build:frontend": "cd frontend && npm run build",
"test": "npm run test:backend && npm run test:frontend",
"test:backend": "cd backend && npm test",
"test:frontend": "cd frontend && npm test",
"lint": "npm run lint:backend && npm run lint:frontend",
"lint:backend": "cd backend && npm run lint",
"lint:frontend": "cd frontend && npm run lint",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,vue,json,md}\"",
"docker:build": "docker-compose build",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:logs": "docker-compose logs -f",
"docker:prod": "docker-compose -f docker-compose.prod.yml up -d",
"db:migrate": "cd backend && npm run db:migrate",
"db:seed": "cd backend && npm run db:seed",
"db:reset": "cd backend && npm run db:reset"
},
"devDependencies": {
"concurrently": "^8.2.2",
"prettier": "^3.1.0"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"keywords": [
"account-sharing",
"user-management",
"authentication",
"vue",
"express",
"typescript"
],
"author": "Your Name",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-username/pandora.git"
},
"bugs": {
"url": "https://github.com/your-username/pandora/issues"
},
"homepage": "https://github.com/your-username/pandora#readme"
}