AFFiNE/apps/server/package.json

102 lines
2.5 KiB
JSON
Raw Normal View History

{
"name": "@affine/server",
"private": true,
2023-08-25 21:15:50 +03:00
"version": "0.9.0-canary.0",
"description": "Affine Node.js server",
"type": "module",
2023-04-19 02:14:25 +03:00
"bin": {
"run-test": "./scripts/run-test.ts"
},
"scripts": {
2023-08-03 10:10:02 +03:00
"build": "tsc",
"dev": "nodemon ./src/index.ts",
2023-04-19 02:24:35 +03:00
"test": "yarn exec ts-node-esm ./scripts/run-test.ts all",
2023-06-28 13:00:06 +03:00
"test:watch": "yarn exec ts-node-esm ./scripts/run-test.ts all --watch",
"test:coverage": "c8 yarn exec ts-node-esm ./scripts/run-test.ts all",
"postinstall": "prisma generate"
},
"dependencies": {
2023-08-25 19:52:33 +03:00
"@apollo/server": "^4.9.2",
2023-07-27 07:02:18 +03:00
"@auth/prisma-adapter": "^1.0.1",
2023-08-25 19:52:33 +03:00
"@aws-sdk/client-s3": "^3.398.0",
2023-07-01 11:26:43 +03:00
"@nestjs/apollo": "^12.0.7",
2023-08-25 19:52:33 +03:00
"@nestjs/common": "^10.2.1",
"@nestjs/core": "^10.2.1",
2023-07-27 07:02:18 +03:00
"@nestjs/graphql": "^12.0.8",
2023-08-25 19:52:33 +03:00
"@nestjs/platform-express": "^10.2.1",
2023-07-27 07:02:18 +03:00
"@node-rs/argon2": "^1.5.2",
"@node-rs/crc32": "^1.7.2",
"@node-rs/jsonwebtoken": "^0.2.3",
2023-08-25 19:52:33 +03:00
"@prisma/client": "^5.2.0",
"cookie-parser": "^1.4.6",
2023-06-27 06:32:24 +03:00
"dotenv": "^16.3.1",
"express": "^4.18.2",
2023-08-16 22:53:33 +03:00
"graphql": "^16.8.0",
"graphql-type-json": "^0.3.2",
2023-06-21 09:08:32 +03:00
"graphql-upload": "^16.0.2",
"lodash-es": "^4.17.21",
2023-08-16 22:53:33 +03:00
"next-auth": "4.22.5",
2023-08-11 22:36:10 +03:00
"nodemailer": "^6.9.4",
2023-06-21 09:08:32 +03:00
"parse-duration": "^1.1.0",
"prisma": "^5.1.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"semver": "^7.5.4"
},
"devDependencies": {
"@affine/storage": "workspace:*",
2023-06-21 09:08:32 +03:00
"@napi-rs/image": "^1.6.1",
2023-08-25 19:52:33 +03:00
"@nestjs/testing": "^10.2.1",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.17",
2023-07-22 16:10:20 +03:00
"@types/lodash-es": "^4.17.8",
2023-08-25 19:52:33 +03:00
"@types/node": "^18.17.11",
2023-07-27 07:02:18 +03:00
"@types/nodemailer": "^6.4.9",
2023-04-19 02:14:25 +03:00
"@types/supertest": "^2.0.12",
2023-07-27 07:02:18 +03:00
"c8": "^8.0.1",
"nodemon": "^3.0.1",
2023-04-19 02:14:25 +03:00
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
2023-08-25 19:52:33 +03:00
"typescript": "^5.2.2"
},
"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": [
2023-04-19 02:14:25 +03:00
"scripts",
"node_modules",
"**/*.spec.ts"
]
2023-04-20 11:34:00 +03:00
},
2023-06-27 12:23:19 +03:00
"stableVersion": "0.5.3",
"installConfig": {
"hoistingLimits": "workspaces"
}
}