-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2 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
{
"name": "api-starwars",
"version": "1.0.0",
"main": "index.js",
"author": {
"name": "André Felipe",
"email": "felipe.andre35@yahoo.com.br"
},
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/node": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-decorators": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-flow": "^7.14.5",
"@babel/preset-typescript": "^7.16.0",
"@types/express": "^4.17.13",
"@types/express-graphql": "^0.9.0",
"@types/graphql": "^14.5.0",
"@types/jest": "^27.0.2",
"@types/morgan": "^1.9.3",
"@types/node": "^16.11.7",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^8.3.1",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"eslint": "^8.2.0",
"jest": "^27.3.1",
"prisma": "^3.4.2",
"ts-jest": "^27.0.7",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.4.4"
},
"scripts": {
"prebuild": "npx prisma generate && npx prisma migrate dev",
"build": "migrate && babel src --extensions \".js,.ts\" --out-dir dist --copy-files --no-copy-ignored",
"start": "node dist/index.js",
"test": "jest",
"dev": "ts-node-dev -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify src/index.ts"
},
"dependencies": {
"@graphql-tools/schema": "^8.3.1",
"@prisma/client": "^3.4.2",
"express": "^4.17.1",
"express-graphql": "^0.12.0",
"graphql": "^16.0.1",
"helmet": "^4.6.0",
"morgan": "^1.10.0",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.1.6",
"tsyringe": "^4.6.0",
"uuid": "^8.3.2"
},
"prisma": {
"schema": "src/database/schema.prisma"
},
"engines": {
"node": ">=15"
}
}