-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
77 lines (77 loc) · 2.66 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
{
"name": "cupicks-be",
"version": "1.3.54",
"main": "index.js",
"keywords": [],
"author": "unchaptered",
"license": "ISC",
"description": "",
"scripts": {
"rimraf": "./node_modules/rimraf/bin.js",
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"prestart": "npm run build",
"start": "pm2 startOrReload ecosystem.config.json --env production",
"start:dev": "cross-env NODE_ENV=dev tsc-watch --onSuccess \"node dist/server.js\"",
"test": "cross-env NODE_ENV=test jest --config ./jest.config.json",
"test:watch": "cross-env NODE_ENV=test jest --config ./jest.config.json --watch",
"test:unit": "cross-env NODE_ENV=test jest --config ./test/jest.config.unit.json",
"test:int": "cross-env NODE_ENV=test jest --config ./test/jest.config.int.json",
"test:e2e": "cross-env NODE_ENV=test jest --config ./test/jest.config.e2e.json",
"test:unit:watch": "cross-env NODE_ENV=test jest --config ./test/jest.config.unit.json --watch",
"test:int:watch": "cross-env NODE_ENV=test jest --config ./test/jest.config.int.json --watch",
"test:e2e:watch": "cross-env NODE_ENV=test jest --config ./test/jest.config.e2e.json --watch",
"test:cov": "cross-env NODE_ENV=test jest --config ./jest.config.json --coverage",
"test:clear": "jest --clearCache",
"prepare": "husky install"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.161.0",
"@aws-sdk/client-ses": "^3.163.0",
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dayjs": "^1.11.5",
"dotenv": "^16.0.2",
"express": "^4.17.3",
"joi": "^17.6.0",
"jsonwebtoken": "^8.5.1",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"mysql2": "^2.3.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/preset-typescript": "^7.18.6",
"@faker-js/faker": "^7.5.0",
"@jest/types": "^28.1.3",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/jest": "^28.1.8",
"@types/jsonwebtoken": "^8.5.9",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/multer-s3": "^3.0.0",
"@types/node": "^15.14.9",
"@types/prettier": "^2.7.0",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"esbuild-jest": "^0.5.0",
"eslint": "^8.22.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"morgan": "^1.10.0",
"node-mocks-http": "^1.11.0",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"tsc-watch": "^4.2.9",
"typescript": "^4.8.3"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{ts}": "prettier --write"
}
}