-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
59 lines (59 loc) · 2.12 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
{
"name": "graphql_clean-architecture_boilerplate",
"version": "0.0.1",
"description": "GraphQL + Clean Architecture boilerplate",
"main": "index.js",
"author": "tuancnttbk93@gmail.com",
"license": "MIT",
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"lint": "eslint . --ext .ts",
"lint:auto-fix": "eslint . --ext .ts --quiet --fix",
"prettier:fix": "npx prettier --write 'src/**/*'",
"build:ts": "tsc",
"build:clean": "rimraf ./dist",
"build": "npm run build:clean && npm run build:ts",
"start": "node dist/index.js",
"create-schema": "graphql codegen",
"create-types": "graphql-schema-typescript --namespace=GQL --global=true --typePrefix='' generate-ts --output=src/__typedefs/graphqlTypes.d.ts src/__typedefs",
"generate-typedefs": "npm run create-schema && npm run create-types",
"debug": "graphql-schema-typescript --help"
},
"dependencies": {
"@apollo/server": "^4.5.0",
"@graphql-tools/schema": "^9.0.17",
"awilix": "^4.3.4",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"graphql-subscriptions": "^2.0.0",
"graphql-tag": "^2.12.6",
"graphql-tools": "^8.3.19",
"jsonwebtoken": "^9.0.0",
"lodash.mergewith": "^4.6.2",
"uuid": "^9.0.0"
},
"//": "Temporarily use the forked version to fix graphql16.x. @jlowcs/graphql-schema-typescript",
"//": "https://github.com/dangcuuson/graphql-schema-typescript/pull/67",
"devDependencies": {
"@graphql-codegen/schema-ast": "^3.0.1",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.13",
"@types/jsonwebtoken": "^9.0.1",
"@types/lodash.mergewith": "^4.6.6",
"@types/node": "^10.12.20",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.14.0",
"eslint-plugin-prettier": "^3.1.4",
"graphql": "^16.8.1",
"graphql-cli": "^4.1.0",
"@jlowcs/graphql-schema-typescript": "^2.0.0",
"nodemon": "^1.18.9",
"prettier": "^2.8.4",
"ts-loader": "^4.5.0",
"ts-node-dev": "^1.1.6",
"typescript": "^4.9.5"
}
}