-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.01 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.01 KB
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
{
"name": "koa-graphql-mongoose-with-ts",
"version": "0.1.0",
"author": "sunxiuguo1@qq.com",
"license": "ISC",
"scripts": {
"serve": "nodemon --watch src -e ts --exec ts-node src/start.ts",
"lint": "eslint src --fix --ext .ts ",
"mongo": "brew services start mongodb-community@4.2"
},
"dependencies": {
"@typegoose/typegoose": "^6.4.0",
"@types/graphql": "^14.5.0",
"apollo-server-koa": "^2.11.0",
"clsx": "^1.1.0",
"graphql": "^14.5.8",
"install": "^0.13.0",
"koa": "^2.11.0",
"koa-bodyparser": "^4.2.1",
"koa-router": "^8.0.8",
"koa-static": "^5.0.0",
"mongoose": "^5.9.3",
"reflect-metadata": "^0.1.13",
"type-graphql": "^0.17.6"
},
"keywords": [
"graphql",
"koa",
"mongoose",
"mongodb",
"typescript",
"apollo",
"nodejs",
"koa-graphql-template",
"typegoose",
"type-graphql"
],
"devDependencies": {
"@types/koa": "^2.11.2",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-router": "^7.4.0",
"@types/koa-static": "^4.0.1",
"@types/mongodb": "^3.5.0",
"@types/mongoose": "^5.7.3",
"@types/node": "^13.7.4",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
"babel-core": "^6.26.3",
"babel-polyfill": "^6.26.0",
"babel-preset-latest-node": "^4.0.1",
"babel-preset-stage-3": "^6.24.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"ts-node": "^8.6.2",
"typescript": "^3.7.4"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"lint-staged": {
"*.{.ts,.tsx}": [
"eslint",
"git add"
]
}
}