-
Notifications
You must be signed in to change notification settings - Fork 537
/
package.json
94 lines (94 loc) · 2.51 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "node-api-boilerplate",
"version": "3.0.0-beta",
"description": "A boilerplate for web APIs using Node",
"main": "dist/index.js",
"private": true,
"license": "MIT",
"contributors": [
"Talysson <talyssonoc@gmail.com>",
"Bruno <brunohcastro@gmail.com>"
],
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"awilix": "^4.3.4",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"helmet": "^5.1.1",
"joi": "^17.4.1",
"lodash.template": "^4.5.0",
"mongodb": "^4.0.0",
"pino": "^6.12.0",
"pino-http": "^5.5.0",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.1.6",
"tsconfig-paths": "^3.10.1",
"types-joi": "^2.1.0",
"uuid": "^8.3.2",
"uuid-mongodb": "^2.4.4"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jest": "^26.0.24",
"@types/lodash.template": "^4.5.0",
"@types/mongodb": "^3.6.20",
"@types/node": "^16.3.3",
"@types/pino": "^6.3.11",
"@types/supertest": "^2.0.11",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.6",
"pino-pretty": "^5.1.1",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"supertest": "^6.1.5",
"ts-jest": "^27.0.5",
"ts-node": "^10.1.0",
"ts-node-dev": "^1.1.8",
"tsconfig-paths-jest": "^0.0.1",
"typescript": "^4.3.5"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.prod.json",
"dev": "tsnd --transpile-only --files src/index.ts | pino-pretty -c -l",
"debug": "tsnd --transpile-only --inspect --files src/index.ts | pino-pretty -c -l",
"cli": "tsnd --transpile-only --files src/index.ts --cli",
"remote": "ts-node bin/replClient.ts",
"test": "jest"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "coverage",
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**"
],
"testRegex": "(/__tests__/.*(test|spec))\\.[jt]sx?$",
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
},
"setupFiles": [
"./src/__tests__/setup.ts"
]
}
}