{
  "name": "clawos",
  "version": "1.0.0",
  "description": "一个基于 Flask + SocketIO 的单文件 Linux 网页管理器。支持文件管理、Web 终端、代码编辑和 AI 助手集成。",
  "main": "index.js",
  "scripts": {
    "test": "node --test",
    "test:e2e": "node -e \"const fs=require('fs');const path=require('path');const root=path.join(process.cwd(),'tests','e2e');const ex=fs.existsSync(root)&&fs.statSync(root).isDirectory();function hasTests(dir){for(const ent of fs.readdirSync(dir,{withFileTypes:true})){const p=path.join(dir,ent.name);if(ent.isDirectory()){if(hasTests(p))return true;}else if(/\\.(spec|test)\\.(js|ts|jsx|tsx)$/.test(ent.name))return true;}return false;}process.exit(ex&&hasTests(root)?0:1);\" && playwright test || node -e \"console.log('tests/e2e 下没有 Playwright 用例，跳过');process.exit(0);\"",
    "lint": "npx --yes eslint@9.39.2 static/js/**/*.js --ignore-pattern **/*.min.js",
    "lint:fix": "npx --yes eslint@9.39.2 static/js/**/*.js --fix --ignore-pattern **/*.min.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@playwright/test": "^1.51.1",
    "eslint": "^9.39.2",
    "pixelmatch": "^7.1.0",
    "playwright": "^1.51.1",
    "pngjs": "^7.0.0"
  },
  "dependencies": {
    "clawhub": "^0.5.0",
    "node-pty": "^1.0.0"
  }
}
