disclaw/package.json
Nick Tabeling aeb4bd5b59
Some checks failed
CI / build-and-test (ubuntu-latest) (pull_request) Has been cancelled
CI / build-and-test (windows-latest) (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
fix(DIS-108): copy schema.sql to dist/ after tsc build
TypeScript does not copy non-.ts files. Add a cpSync step to the
build and dev scripts so dist/db/schema.sql exists at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 18:01:11 +02:00

45 lines
1.3 KiB
JSON

{
"name": "disclaw",
"version": "0.1.0",
"description": "Discord-bot-powered multi-agent workspace manager built on Claude Code",
"main": "dist/index.js",
"scripts": {
"build": "tsc && node -e \"require('fs').cpSync('src/db/schema.sql', 'dist/db/schema.sql')\"",
"start": "node dist/index.js",
"dev": "tsc && node -e \"require('fs').cpSync('src/db/schema.sql', 'dist/db/schema.sql')\" && node dist/index.js",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts"
},
"vitest": {
"include": [
"tests/**/*.test.ts"
],
"environment": "node"
},
"dependencies": {
"better-sqlite3": "^11.0.0",
"cross-spawn": "^7.0.6",
"discord.js": "^14.16.0",
"dotenv": "^16.4.0",
"pino": "^10.3.1",
"yaml": "^2.6.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.0",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.0.0",
"@types/pino": "^7.0.4",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitest/coverage-v8": "^4.1.4",
"eslint": "^8.57.0",
"pino-pretty": "^13.1.3",
"typescript": "^5.7.0",
"vitest": "^4.1.4"
},
"engines": {
"node": ">=20.0.0"
}
}