-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.01 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
{
"name": "interview",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.22",
"@types/koa": "^2.13.1",
"@types/koa__cors": "^3.0.2",
"@types/koa__router": "^8.0.4",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-helmet": "^6.0.2",
"@types/koa-router": "^7.4.4",
"@types/node": "^14.18.18",
"@types/shelljs": "^0.8.8",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"eslint": "^7.23.0",
"jest": "^26.6.3",
"koa-static": "^5.0.0",
"koa-swagger-decorator": "^1.8.5",
"nodemon": "^2.0.7",
"path": "^0.12.7",
"shelljs": "^0.8.4",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"dependencies": {
"@koa/cors": "^3.1.0",
"@koa/multer": "^3.0.0",
"@koa/router": "^10.0.0",
"class-validator": "^0.13.2",
"dotenv": "^8.2.0",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-helmet": "^6.1.0",
"koa-jwt": "^4.0.0",
"koa-multer": "^1.0.2",
"koa-pug": "^5.0.0",
"mongoose": "^6.3.4",
"multer": "^1.4.4",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"ts-node-dev": "^1.1.8",
"validate.js": "^0.13.1",
"winston": "^3.3.3"
},
"scripts": {
"build": "tsc --build",
"start": "ts-node-dev src/server.ts",
"test": "NODE_ENV=test PORT=3000 jest",
"test:watch": "npm run test -- --watchAll"
},
"jest": {
"roots": [
"<rootDir>"
],
"testMatch": [
"**/tests/**/*.+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}