{ "name": "@pockethost/daemon", "version": "0.0.1", "license": "MIT", "scripts": { "check:types": "tsc --noEmit --skipLibCheck", "build": "concurrently 'yarn:build:*'", "build:docker": "cd src/services/PocketBaseService && docker build -t pockethost/pocketbase .", "build:hooks": "tsup --target es5 ./src/hooks/src/*.ts -d ./pb_hooks && prettier -w \"./pb_hooks/*\"", "dev": "concurrently 'yarn:dev:*'", "dev:server": "tsx watch src/server.ts", "dev:hooks": "chokidar './src/hooks/**' -c 'yarn build:hooks' --initial", "ddos": "tsx watch src/stresser/index.ts", "start": "tsx src/server.ts", "pm2": "pm2 stop all; pm2 del daemon ; pm2 start \"yarn start\" --name=daemon -l /home/pockethost/logs/daemon-`date +%s`.log", "migrate": "tsx src/migrate/migrate.ts", "postinstall": "cd ../.. && patch-package" }, "dependencies": { "@pockethost/common": "0.0.1", "@swc/core": "^1.3.86", "@types/tail": "^2.2.2", "ajv": "^8.11.2", "boolean": "^3.2.0", "bottleneck": "^2.19.5", "commander": "^11.0.0", "date-fns": "^2.29.3", "decompress": "^4.2.1", "decompress-unzip": "^4.0.1", "dockerode": "^3.3.5", "dotenv": "^16.3.1", "event-source-polyfill": "^1.0.31", "eventsource": "^2.0.2", "exit-hook": "^4.0.0", "ftp-srv": "^4.6.2", "get-port": "^6.1.2", "glob": "^10.3.10", "http-proxy": "^1.18.1", "ip-cidr": "^3.1.0", "knex": "^2.3.0", "memorystream": "^0.3.1", "node-fetch": "^3.3.0", "semver": "^7.3.8", "sqlite": "^4.1.2", "sqlite3": "^5.1.6", "tail": "^2.2.6", "tmp": "^0.2.1", "tsup": "^7.2.0", "tsx": "^3.11.0", "url-pattern": "^1.0.3", "winston": "^3.11.0" }, "devDependencies": { "@swc/cli": "^0.1.62", "@swc/core": "^1.3.86", "@types/bootstrap": "^5.2.6", "@types/d3-scale": "^4.0.3", "@types/d3-scale-chromatic": "^3.0.0", "@types/decompress": "^4.2.4", "@types/dockerode": "^3.3.19", "@types/http-proxy": "^1.17.9", "@types/js-cookie": "^3.0.2", "@types/marked": "^4.0.8", "@types/memorystream": "^0.3.1", "@types/node": "^18.11.9", "@types/semver": "^7.3.13", "@types/tmp": "^0.2.1", "@types/unzipper": "^0.10.5", "tsup": "^7.2.0" } }