-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.88 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.88 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
{
"name": "u-documentation-api",
"version": "1.0.0",
"description": "Middleware API Service for Github API",
"main": "build/index.js",
"author": "uStudio Front-end Department",
"scripts": {
"dev": "cross-env NODE_PATH=./src NODE_ENV=development nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"build": "yarn clear && tsc --diagnostics",
"start": "yarn build && cross-env NODE_PATH=./build NODE_ENV=production node build/index.js",
"clear": "rimraf build",
"autofix": "eslint --fix --quiet -c .eslintrc.json --ext .ts src/",
"autoformat": "prettier --write \"src/**/*.ts\""
},
"dependencies": {
"@types/isomorphic-fetch": "^0.0.35",
"@types/node": "^13.9.1",
"@types/pino": "^5.17.0",
"apollo-boost": "^0.4.7",
"apollo-client": "^2.6.8",
"apollo-link-context": "^1.0.20",
"apollo-link-http": "^1.5.17",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"fastify": "^2.13.0",
"fastify-cors": "^3.0.3",
"fastify-swagger": "^2.5.0",
"graphql": "^15.0.0",
"graphql-tag": "^2.10.3",
"isomorphic-fetch": "^2.2.1",
"pino-pretty": "^4.0.0",
"rimraf": "^3.0.2",
"typescript": "^3.8.3"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"ts-node": "^8.6.2"
},
"lint-staged": {
"src/**/*.ts": [
"yarn autofix",
"yarn autoformat",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"engineStrict": true,
"engines": {
"node": ">=12.16.1 <13.0.0"
},
"license": "MIT"
}