cc-libs/tools/trap-sandbox/package.json

40 lines
1.1 KiB
JSON

{
"name": "trap-sandbox",
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"eslint": "eslint . --cache --cache-location node_modules/.cache/eslint/",
"lint": "npm run eslint",
"clean": "rm -rf node_modules/.cache/tsc node_modules/.cache/eslint",
"check": "npm run eslint",
"test:all": "npm run check && npm run build && npm run test",
"test:ci": "npm run test:all && npm run test:integration",
"dev": "LOG_PRETTY=1 tsx watch src/index.ts",
"start": "npm run build && node dist/src/index.js",
"test": "tsx --test test/*.test.ts",
"test:integration": "tsx --test --test-concurrency=1 test-integration/*.test.ts"
},
"dependencies": {
"@fastify/websocket": "^11",
"@opencode-ai/sdk": "^1.17.4",
"fastify": "^5",
"zod": "^4"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^20.14.10",
"@types/ws": "^8.5.10",
"eslint": "^10.4.1",
"globals": "^17.6.0",
"pino-pretty": "^13",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"typescript-eslint": "^8.61.0"
}
}