-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 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
87
88
89
90
91
92
{
"name": "uclaradio-api",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/uclaradio/uclaradio-api",
"author": "UCLA Radio Web <[email protected]>",
"license": "GPL-3.0",
"engines": {
"node": "8.x || 9.x || 10.x"
},
"scripts": {
"setup": "ts-node ./scripts/create-data.ts",
"prestart": "tsc && yarn copy-graphql && yarn copy-favicon",
"start": "node ./bin/www",
"debug": "nodemon --inspect ./bin/www",
"copy-graphql": "cpx \"src/schema/*.graphql\" dist/schema --verbose",
"copy-favicon": "cpx \"src/static/favicon.ico\" dist/static --verbose",
"test": "NODE_ENV='test' jest",
"precommit": "lint-staged",
"postmerge": "yarnhook",
"postcheckout": "yarnhook",
"postrewrite": "yarnhook"
},
"nodemonConfig": {
"watch": ["src"],
"ignore": ["src/views/", "src/schema/"],
"ext": "ts",
"exec": "tsc && node"
},
"lint-staged": {
"*.{js,ts,tsx,json,css,scss,md}": ["prettier --write", "git add"]
},
"prettier": {
"overrides": [
{
"files": "*.{js,ts,tsx}",
"options": {
"singleQuote": true,
"trailingComma": "es5"
}
}
]
},
"jest": {
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": ["**/src/**/*.test.(js|ts)"],
"testEnvironment": "node",
"coverageReporters": ["json"],
"coverageDirectory": "./coverage/"
},
"dependencies": {
"@types/body-parser": "^1.17.0",
"@types/cookie-parser": "^1.4.1",
"@types/dotenv": "^6.0.0",
"@types/express": "^4.11.0",
"@types/faker": "^4.1.2",
"@types/graphql": "^14.0.0",
"@types/jest": "^26.0.0",
"@types/morgan": "^1.7.35",
"@types/sequelize": "^4.27.16",
"@types/serve-favicon": "^2.2.30",
"apollo-server-express": "^2.0.0",
"body-parser": "^1.18.2",
"cookie-parser": "^1.4.3",
"cpx": "^1.5.0",
"dotenv": "^5.0.1",
"express": "^4.16.3",
"faker": "^5.0.0",
"graphql": "^15.0.0",
"graphql-import": "^1.0.0",
"graphql-tools": "^6.0.0",
"morgan": "^1.9.0",
"pg": "^8.0.0",
"sequelize": "^6.0.0",
"serve-favicon": "^2.5.0",
"supertest": "^4.0.0",
"typescript": "^4.0.0"
},
"devDependencies": {
"husky": "4.2.5",
"jest": "26.4.2",
"lint-staged": "10.2.13",
"nodemon": "2.0.4",
"prettier": "2.1.0",
"ts-jest": "26.2.0",
"ts-node": "9.0.0",
"yarnhook": "0.4.3"
}
}