-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.39 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "nodets",
"version": "1.0.0",
"description": "A Node.js project skeleton using TypeScript, set up with testing, linting, and development automation tools.",
"main": "dist/index.js",
"scripts": {
"prepare": "husky",
"build": "rimraf dist && tsc",
"start": "npm run build && node dist/index.js",
"start:dev": "nodemon --exec ts-node -r tsconfig-paths/register src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:report": "jest --coverage --coverageReporters=\"json-summary\"",
"lint": "eslint . --ext .ts,.js --fix"
},
"author": {
"name": "Junior Carrillo",
"email": "soyjrcarrillo@gmail.com",
"url": "https://github.com/soyjrcarrillo"
},
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/soyjrcarrillo/nodets.git"
},
"keywords": [
"node",
"typescript",
"jest",
"eslint",
"express",
"skeleton"
],
"bugs": {
"url": "https://github.com/soyjrcarrillo/nodets/issues"
},
"homepage": "https://github.com/soyjrcarrillo/nodets#readme",
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"collectCoverageFrom": [
"**/*.(t|j)s",
"!**/index.(t|j)s",
"!**/app.(t|j)s",
"!**/main.(t|j)s",
"!**/app.swagger.(t|j)s",
"!**/app.schema.(t|j)s",
"!**/app.logger.(t|j)s",
"!**/app.env.(t|j)s",
"!**/*.module.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1"
}
},
"dependencies": {
"@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express-fileupload": "^1.5.1",
"@types/morgan": "^1.9.9",
"body-parser": "^1.20.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.17.2",
"express-fileupload": "^1.5.1",
"joi": "^17.13.3",
"morgan": "^1.10.0",
"reflect-metadata": "^0.2.2",
"supertest": "^7.0.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.14.2"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/express": "^4.17.13",
"@types/jest": "^29.5.13",
"@types/node": "^20.4.0",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"globals": "^15.9.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"prettier": "^3.3.3",
"rimraf": "^4.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.0.0",
"typescript-eslint": "^8.5.0"
}
}