-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.68 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": "microservice-name",
"version": "1.0.0",
"description": "TS-Node Boilerplate 2024",
"author": "Luiz Cavalcante <[email protected]>",
"main": "dist/app.js",
"scripts": {
"build": "babel src --extensions \".js,.ts\" --out-dir dist --copy-files --no-copy-ignored",
"start": "node dist/app.js",
"update:openapi": "npx openapi-typescript ./src/docs/openapi.yaml -o ./src/docs/openapi-schema.d.ts",
"dev:requirements": "rm -rf ./.husky && npx mrm lint-staged && npm pkg delete scripts.prepare && npm pkg delete 'lint-staged[*.js]' && npm pkg delete 'lint-staged[*.{js,css,md}]'",
"dev": "ts-node-dev --env-file=./environments/.env -r tsconfig-paths/register --respawn --transpile-only --cls src/app.ts",
"test": "jest --config ./jest/jest.run-all-config.js --detectOpenHandles --runInBand --forceExit",
"test:watch": "jest --config ./jest/jest.run-all-config.js --watch",
"test:coverage": "jest --config ./jest/jest.run-all-config.js --coverage",
"test:unit": "jest --config ./jest/jest.unit-config.js --detectOpenHandles",
"test:int": "jest --config ./jest/jest.int-config.js --detectOpenHandles --runInBand --forceExit",
"test:debug": "jest --config ./jest/jest.debug-config.js --detectOpenHandles --runInBand --forceExit"
},
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix",
"jest --config ./jest/jest.run-all-config.js --detectOpenHandles --runInBand --forceExit --passWithNoTests"
]
},
"dependencies": {
"axios": "^1.6.4",
"connect-timeout": "^1.9.0",
"date-fns": "^2.29.3",
"express": "^4.18.2",
"express-openapi-validator": "^5.1.2",
"express-rate-limit": "^7.1.5",
"traceability": "^3.1.1"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.6",
"@babel/node": "^7.22.19",
"@babel/preset-env": "^7.23.6",
"@babel/preset-typescript": "^7.23.3",
"@types/connect-timeout": "^0.0.39",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"babel-plugin-module-resolver": "^5.0.0",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"openapi-typescript": "^6.7.4",
"prettier": "^3.1.1",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
}
}