2023-04-18 06:24:44 +03:00
|
|
|
{
|
|
|
|
"name": "@affine/server",
|
|
|
|
"private": true,
|
2023-04-28 08:37:43 +03:00
|
|
|
"version": "0.5.4-canary.16",
|
2023-04-18 06:24:44 +03:00
|
|
|
"description": "Affine Node.js server",
|
|
|
|
"type": "module",
|
2023-04-19 02:14:25 +03:00
|
|
|
"bin": {
|
|
|
|
"run-test": "./scripts/run-test.ts"
|
|
|
|
},
|
2023-04-18 06:24:44 +03:00
|
|
|
"scripts": {
|
|
|
|
"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-04-28 02:02:05 +03:00
|
|
|
"test:coverage": "c8 yarn exec ts-node-esm ./scripts/run-test.ts all",
|
|
|
|
"postinstall": "prisma generate"
|
2023-04-18 06:24:44 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-23 09:42:27 +03:00
|
|
|
"@apollo/server": "^4.7.0",
|
2023-04-18 06:24:44 +03:00
|
|
|
"@nestjs/apollo": "^11.0.5",
|
|
|
|
"@nestjs/common": "^9.4.0",
|
|
|
|
"@nestjs/core": "^9.4.0",
|
|
|
|
"@nestjs/graphql": "^11.0.5",
|
|
|
|
"@nestjs/platform-express": "^9.4.0",
|
2023-04-23 09:42:27 +03:00
|
|
|
"@prisma/client": "^4.13.0",
|
2023-04-28 06:49:44 +03:00
|
|
|
"bcrypt": "^5.1.0",
|
2023-04-18 06:24:44 +03:00
|
|
|
"dotenv": "^16.0.3",
|
2023-04-28 02:02:05 +03:00
|
|
|
"express": "^4.18.2",
|
2023-04-18 06:24:44 +03:00
|
|
|
"graphql": "^16.6.0",
|
|
|
|
"graphql-type-json": "^0.3.2",
|
2023-04-28 02:02:05 +03:00
|
|
|
"jsonwebtoken": "^9.0.0",
|
2023-04-18 06:24:44 +03:00
|
|
|
"lodash-es": "^4.17.21",
|
2023-04-23 09:42:27 +03:00
|
|
|
"prisma": "^4.13.0",
|
2023-04-18 06:24:44 +03:00
|
|
|
"reflect-metadata": "^0.1.13",
|
2023-04-28 01:59:54 +03:00
|
|
|
"rxjs": "^7.8.1"
|
2023-04-18 06:24:44 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@nestjs/testing": "^9.4.0",
|
2023-04-28 06:49:44 +03:00
|
|
|
"@types/bcrypt": "^5.0.0",
|
2023-04-28 02:02:05 +03:00
|
|
|
"@types/express": "^4.17.17",
|
2023-04-28 10:39:21 +03:00
|
|
|
"@types/jsonwebtoken": "^9.0.2",
|
2023-04-23 09:42:27 +03:00
|
|
|
"@types/lodash-es": "^4.17.7",
|
2023-04-28 01:59:54 +03:00
|
|
|
"@types/node": "^18.16.2",
|
2023-04-19 02:14:25 +03:00
|
|
|
"@types/supertest": "^2.0.12",
|
2023-04-18 09:01:14 +03:00
|
|
|
"c8": "^7.13.0",
|
2023-04-18 06:24:44 +03:00
|
|
|
"nodemon": "^2.0.22",
|
2023-04-19 02:14:25 +03:00
|
|
|
"supertest": "^6.3.3",
|
2023-04-18 06:24:44 +03:00
|
|
|
"ts-node": "^10.9.1",
|
2023-04-18 08:07:03 +03:00
|
|
|
"typescript": "^5.0.4",
|
|
|
|
"vitest": "^0.30.1"
|
2023-04-18 06:24:44 +03:00
|
|
|
},
|
|
|
|
"nodemonConfig": {
|
|
|
|
"exec": "node",
|
|
|
|
"script": "./src/index.ts",
|
|
|
|
"nodeArgs": [
|
|
|
|
"--loader",
|
|
|
|
"ts-node/esm.mjs",
|
|
|
|
"--es-module-specifier-resolution",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"ignore": [
|
|
|
|
"**/__tests__/**",
|
|
|
|
"**/dist/**"
|
|
|
|
],
|
|
|
|
"env": {
|
2023-04-25 05:13:52 +03:00
|
|
|
"TS_NODE_TRANSPILE_ONLY": true,
|
2023-04-18 06:24:44 +03:00
|
|
|
"TS_NODE_PROJECT": "./tsconfig.json",
|
|
|
|
"NODE_ENV": "development",
|
|
|
|
"DEBUG": "affine:*",
|
|
|
|
"FORCE_COLOR": true,
|
|
|
|
"DEBUG_COLORS": true
|
|
|
|
},
|
|
|
|
"delay": 1000
|
2023-04-18 09:01:14 +03:00
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"reporter": [
|
|
|
|
"text",
|
|
|
|
"lcov"
|
|
|
|
],
|
|
|
|
"report-dir": ".coverage",
|
|
|
|
"exclude": [
|
2023-04-19 02:14:25 +03:00
|
|
|
"scripts",
|
2023-04-18 09:01:14 +03:00
|
|
|
"node_modules",
|
|
|
|
"**/*.spec.ts"
|
|
|
|
]
|
2023-04-20 11:34:00 +03:00
|
|
|
},
|
|
|
|
"stableVersion": "0.5.3"
|
2023-04-18 06:24:44 +03:00
|
|
|
}
|