-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 1.73 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
{
"name": "sweetapi",
"version": "1.0.0",
"description": "",
"main": "src/server.ts",
"scripts": {
"test": "NODE_ENV=test PORT=7777 jest",
"build": "./node_modules/.bin/tsc --build",
"start": "./node_modules/.bin/ts-node-dev src/server.ts",
"test:watch": "pnpm run test -- --watchAll"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/koa": "^2.13.5",
"@types/koa-bodyparser": "^4.3.7",
"@types/koa-logger": "^3.1.2",
"@types/koa-router": "^7.4.4",
"@types/koa2-cors": "^2.0.2",
"@types/node": "*",
"@types/supertest": "^2.0.12",
"husky": "^8.0.1",
"jest": "^28.1.3",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"supertest": "^6.2.4",
"ts-jest": "^28.0.7",
"ts-node-dev": "^2.0.0"
},
"dependencies": {
"@types/bcrypt": "^5.0.0",
"bcrypt": "^5.0.1",
"dotenv": "^16.0.1",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-logger": "^3.2.1",
"koa-router": "^12.0.0",
"koa2-cors": "^2.0.6",
"mysql2": "^2.3.3",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"jest": {
"verbose": true,
"collectCoverage": true,
"modulePathIgnorePatterns": [
"<rootDir>/node_modules"
],
"roots": [
"<rootDir>/__tests__"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/"
],
"testRegex": "(/__tests__).*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}