-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.48 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
{
"name": "boilerplate",
"version": "0.0.1",
"description": "Express boilerplate to start developing business logic with tests and environments.",
"main": "index.js",
"scripts": {
"dev": "nodemon --exec babel-node src/server.js -r dotenv/config",
"test": "jest --coverage --runInBand",
"lint": "biome lint ./src",
"lint:fix": "biome lint ./src --write",
"format": "biome format ./src --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/urtuba/boilerplate.git"
},
"keywords": ["express", "node", "api", "babel", "swagger", "2023", "nodemon", "jest"],
"author": "urtuba",
"license": "MIT",
"bugs": {
"url": "https://github.com/urtuba/boilerplate/issues"
},
"homepage": "https://github.com/urtuba/boilerplate#readme",
"dependencies": {
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"envalid": "^8.0.0",
"express": "^4.21.0",
"express-rate-limit": "^7.4.0",
"helmet": "^7.1.0",
"nanoid": "^3.3.7",
"request-ip": "^3.3.0",
"response-time": "^2.3.2"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/node": "^7.25.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-class-properties": "^7.25.4",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/preset-env": "^7.25.4",
"@biomejs/biome": "1.9.1",
"babel-plugin-module-resolver": "^5.0.2",
"dotenv": "^16.4.5",
"eslint-plugin-prettier": ">5.0.1",
"jest": "^29.7.0",
"nodemon": "^3.1.4",
"supertest": "^6.3.4"
},
"jest": {
"silent": true,
"verbose": true,
"rootDir": ".",
"roots": ["./src"],
"transformIgnorePatterns": ["/node_modules/", "\\.pnp\\.[^\\/]+$"],
"testEnvironment": "node",
"setupFiles": ["<rootDir>/src/utils/test/env.setup.js"],
"setupFilesAfterEnv": ["<rootDir>/src/utils/test/db.setup.js"],
"globalSetup": "<rootDir>/src/utils/test/global.setup.js",
"globalTeardown": "<rootDir>/src/utils/test/teardown.setup.js",
"collectCoverage": true,
"coverageProvider": "v8",
"coverageDirectory": "tmp/coverage",
"collectCoverageFrom": ["<rootDir>/**/*.js", "<rootDir>/src"],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/src/test/",
"/src/server.js",
"/src/db.js",
"/src/utils/test/",
"src/middlewares"
],
"testTimeout": 10000
}
}