-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
86 lines (86 loc) · 2.52 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "mikro-orm-graphql-example",
"description": "A MikroORM boilerplate for GraphQL made with Typescript using TypeGraphQL",
"version": "1.0.0",
"license": "MIT",
"author": "Dries Croons",
"main": "src/index.ts",
"scripts": {
"build": "tsc",
"dev": "cross-env NODE_DEV=true ts-node-dev -r tsconfig-paths/register src/index.ts",
"gen-env-types": "gen-env-types .env -o src/utils/types/env.d.ts -e .",
"start": "yarn build && cross-env NODE_PATH=./dist/src node dist/src/index.js",
"lint": "eslint src/**/*.ts --fix",
"test": "cross-env NODE_DEV=true NODE_ENV=test ts-mocha ./tests/**/*.test.ts --package package.json",
"loadFixtures": "yarn test --grep \"should clear database and load fixtures\""
},
"dependencies": {
"@mikro-orm/cli": "^4.0.0-rc.0",
"@mikro-orm/core": "^4.0.0-rc.0",
"@mikro-orm/migrations": "^4.0.0-rc.0",
"@mikro-orm/postgresql": "^4.0.0-rc.0",
"@types/chai": "^4.2.12",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.7",
"@types/mocha": "^8.0.1",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"class-validator": "^0.12.2",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-graphql": "^0.11.0",
"faker": "^4.1.0",
"gen-env-types": "^1.0.3",
"graphql": "^15.3.0",
"graphql-fields-to-relations": "^1.0.4",
"graphql-playground-middleware-express": "^1.7.18",
"husky": "^4.2.5",
"mocha": "^8.1.1",
"prettier": "^2.0.5",
"reflect-metadata": "^0.1.13",
"supertest": "^4.0.2",
"ts-mocha": "^7.0.0",
"ts-node-dev": "^1.0.0-pre.56",
"tsconfig-paths": "^3.9.0",
"type-graphql": "^1.0.0-rc.3",
"typescript": "^3.9.7",
"uuid": "^8.2.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn build && yarn run lint"
}
},
"mocha": {
"require": [
"ts-node/register/transpile-only",
"tsconfig-paths/register",
"dotenv/config",
"reflect-metadata"
],
"recursive": true,
"exit": true,
"timeout": 99999,
"forbidPending": true,
"color": true
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/orm.config.ts"
]
},
"engines": {
"node": ">=14.0.0"
}
}