/
package.json
146 lines (146 loc) · 4.87 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@umberware/the-way",
"version": "1.0.0",
"description": "TheWay is a framework to enhance the development with NodeJs and Typescript, promoting agility, simplicity and intelligibility",
"main": "src/main/index.js",
"types": "src/main/index.d.ts",
"site": "http://the-way.umberware.com",
"homepage": "http://the-way.umberware.com",
"private": false,
"scripts": {
"build": "tsc && yarn copy-properties-file && yarn copy-npm-ignore && yarn copy-readme",
"copy-npm-ignore": "copyfiles .npmignore ./dist",
"copy-readme": "copyfiles readme.md ./dist",
"copy-properties-file": "copyfiles src/main/resources/application.properties.yml ./dist ",
"lint": "eslint . --ext .ts",
"publish-prod": "npm publish dist/ --registry https://registry.npmjs.org/ --access public",
"publish-beta": "npm publish dist/ --tag alpha --registry https://registry.npmjs.org/ --access public",
"test": "jest --silent --no-cache --properties=src/test/resources/application-test.properties.yml --i --verbose --collectCoverage",
"test-watch": "jest --silent --no-cache --properties=src/test/resources/application-test.properties.yml --i --verbose --collectCoverage --watchAll",
"test-no-silent": "jest --no-cache --properties=src/test/resources/application-test.properties.yml --i --verbose --collectCoverage",
"test-with-log": "jest --no-cache --properties=src/test/resources/application-test.properties.yml --i --verbose > test.log 2>&1"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/umberware"
},
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^4.6.0",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.10.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.7",
"shelljs": "^0.8.5",
"swagger-ui-express": "^4.1.6",
"yaml": "^1.10.2"
},
"peerDependencies": {
"@types/node": "^14.14.11"
},
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.12",
"@types/helmet": "^4.0.0",
"@types/jest": "^27.0.2",
"@types/jsonwebtoken": "^8.5.1",
"@types/morgan": "^1.9.3",
"@types/node": "^14.14.10",
"@types/swagger-ui-express": "^4.1.2",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"copyfiles": "^2.4.1",
"eslint": "^8.1.0",
"jest": "^27.3.1",
"jest-html-reporter": "^3.4.1",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"repository": {
"type": "git",
"url": "https://github.com/umberware/the-way"
},
"bugs": {
"url": "https://github.com/umberware/the-way/issues"
},
"keywords": [
"http decorator",
"dependencies",
"typescript dependency injection",
"dependency injection",
"@umberware/the-way",
"the way",
"the-way",
"node api",
"node rest",
"rest",
"inject",
"injections",
"swagger",
"express",
"typescript decoratos",
"typescript rest",
"rest decorator",
"express decorators",
"decorator",
"decorators",
"@umberware"
],
"author": "Hanor Sátiro Cintra <hanor.cintra@outlook.com>",
"license": "MIT",
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/src/main/",
"/src/test/core",
"/src/test/resources"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"testRegex": ".test.ts",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testTimeout": 30000,
"reporters": [
"default",
[
"./node_modules/jest-html-reporter",
{
"pageTitle": "Test Report",
"outputPath": "./dist/src/test/test-report/index.html",
"includeFailureMsg": true,
"includeConsoleLog": true
}
]
],
"collectCoverage": true,
"coverageDirectory": "./dist/src/test/coverage/",
"collectCoverageFrom": [
"src/main/**/*.ts",
"!src/main/index.ts"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
}
}
}