{
  "name": "playableads-platform",
  "version": "1.0.0",
  "private": true,
  "description": "Playable Ads Platform - 广告制作管理平台",
  "scripts": {
    "dev": "node scripts/dev.js",
    "dev:template": "cd templates/coloring && npx vite --open --cors --host 0.0.0.0",
    "dev:server": "cd platform/server && npm run dev",
    "dev:client": "cd platform/client && npm run dev",
    "build": "npm run build:client && npm run build:server",
    "build:prod": "BASE_PATH=/ads/ npm run build",
    "build:template": "cd templates/coloring && npm run build:all",
    "build:server": "cd platform/server && npm run build",
    "build:client": "cd platform/client && npm run build",
    "deploy:pack": "npm run build && tar -czf deploy.tar.gz --exclude='node_modules' --exclude='.git' --exclude='storage' --exclude='dist' --exclude='.DS_Store' platform/server/dist platform/server/package.json platform/server/package-lock.json platform/client/dist templates/coloring ecosystem.config.js scripts/install-deps.sh && echo 'deploy.tar.gz ready'",
    "docker:build": "npm run build:client && docker build -t playableads-platform .",
    "docker:run": "docker run -d -p 3001:3001 -v $(pwd)/storage:/app/storage --name playableads playableads-platform",
    "install:all": "cd templates/coloring && npm install && cd ../../platform/server && npm install && cd ../client && npm install",
    "install:template": "cd templates/coloring && npm install",
    "install:server": "cd platform/server && npm install",
    "install:client": "cd platform/client && npm install"
  },
  "author": "",
  "license": "ISC"
}
