-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.29 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
{
"name": "template-api",
"version": "0.0.1",
"author": {
"name": "Lucas Lopes",
"email": "lucass.code@gmail.com"
},
"scripts": {
"start": "bun run --watch ./src/app/index.ts",
"start:prod": "NODE_ENV=production bun run --watch ./src/app/index.ts",
"start:pm2:dev": "pm2 start npm --name \"template-api-dev\" -- run start",
"restart:pm2:dev": "pm2 restart template-api-dev",
"start:pm2:prod": "pm2 start npm --name \"template-api-prod\" -- run start:prod",
"restart:pm2:prod": "pm2 restart template-api-prod",
"test": "jest --passWithNoTests --silent --noStackTrace --runInBand",
"test:verbose": "jest --passWithNoTests --runInBand",
"test:unit": "npm test -- --watch",
"test:staged": "npm test -- --findRelatedTests",
"test:ci": "npm test -- --coverage",
"lint": "bunx eslint --ext .js,.ts .",
"lint:fix": "bun run lint -- --fix",
"install:mysql": "docker-compose up -d mysql-dev && docker-compose up -d mysql-prod",
"prepare": "husky install"
},
"dependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.6.3",
"axios": "^1.6.7",
"bcrypt": "^5.1.1",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"ejs": "3.1.6",
"express": "^4.18.2",
"jest": "^29.7.0",
"jsonwebtoken": "8.5.1",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.6.1",
"nodemailer": "^6.9.9",
"reflect-metadata": "^0.1.13",
"stripe": "^14.5.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"ts-jest": "^29.1.1",
"typeorm": "^0.3.17",
"typeorm-naming-strategies": "^4.1.0",
"typescript-transform-paths": "^3.4.6",
"uuid": "^9.0.1",
"validator": "^13.11.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/jest": "^29.5.9",
"@types/jsonwebtoken": "^9.0.5",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^9.0.7",
"@types/validator": "^13.11.7",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"bun-types": "^1.0.13",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "latest",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"git-commit-msg-linter": "4.11.1",
"husky": "^8.0.3",
"lint-staged": "^15.1.0"
}
}