{ "name": "@affine/server", "private": true, "version": "0.7.0-canary.17", "description": "Affine Node.js server", "type": "module", "bin": { "run-test": "./scripts/run-test.ts" }, "scripts": { "dev": "nodemon ./src/index.ts", "test": "yarn exec ts-node-esm ./scripts/run-test.ts all", "test:coverage": "c8 yarn exec ts-node-esm ./scripts/run-test.ts all", "postinstall": "prisma generate" }, "dependencies": { "@apollo/server": "^4.7.1", "@nestjs/apollo": "^11.0.6", "@nestjs/common": "^9.4.2", "@nestjs/core": "^9.4.2", "@nestjs/graphql": "^11.0.6", "@nestjs/platform-express": "^9.4.2", "@node-rs/bcrypt": "^1.7.1", "@prisma/client": "^4.15.0", "dotenv": "^16.1.4", "express": "^4.18.2", "graphql": "^16.6.0", "graphql-type-json": "^0.3.2", "jsonwebtoken": "^9.0.0", "lodash-es": "^4.17.21", "prisma": "^4.15.0", "reflect-metadata": "^0.1.13", "rxjs": "^7.8.1" }, "devDependencies": { "@nestjs/testing": "^9.4.2", "@types/express": "^4.17.17", "@types/jsonwebtoken": "^9.0.2", "@types/lodash-es": "^4.17.7", "@types/node": "^18.16.16", "@types/supertest": "^2.0.12", "c8": "^7.14.0", "nodemon": "^2.0.22", "supertest": "^6.3.3", "ts-node": "^10.9.1", "typescript": "^5.1.3", "vitest": "^0.31.4" }, "nodemonConfig": { "exec": "node", "script": "./src/index.ts", "nodeArgs": [ "--loader", "ts-node/esm.mjs", "--es-module-specifier-resolution", "node" ], "ignore": [ "**/__tests__/**", "**/dist/**" ], "env": { "TS_NODE_TRANSPILE_ONLY": true, "TS_NODE_PROJECT": "./tsconfig.json", "NODE_ENV": "development", "DEBUG": "affine:*", "FORCE_COLOR": true, "DEBUG_COLORS": true }, "delay": 1000 }, "c8": { "reporter": [ "text", "lcov" ], "report-dir": ".coverage", "exclude": [ "scripts", "node_modules", "**/*.spec.ts" ] }, "stableVersion": "0.5.3" }