-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
140 lines (140 loc) · 4.17 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
{
"name": "www",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"start:consumer": "NODE_CONFIG='{\"rabbit\": {\"host\": \"localhost\"}}' NODE_ENV=development ts-node -r tsconfig-paths/register ./services/taskConsumer/index.ts",
"start:dev": "node --require @babel/register app.js",
"test": "npm run test:api:e2e && npm run test:api:unit",
"test:api:e2e": "NODE_ENV=development jest --config services/api/tests/jest-e2e.json --detectOpenHandles",
"test:api:unit": "NODE_ENV=development jest --detectOpenHandles",
"test:coverage:dev": "nyc --reporter=text mocha --exit --ui bdd --reporter spec --require @babel/register ./services/api/tests/setup.js ./services/api/tests/**/*.test.js ./services/api/tests/*.test.js",
"precommit": "lint-staged",
"lint": "eslint ."
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@typegoose/typegoose": "^6.1.8",
"amqplib": "0.5.2",
"axios": "^0.21.1",
"bluebird": "3.5.1",
"body-parser": "^1.19.0",
"bunyan": "1.8.12",
"bunyan-stdout-stream": "^1.5.2",
"cheerio": "0.22.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"config": "1.31.0",
"dotenv": "6.0.0",
"express": "^4.17.1",
"inversify": "^5.0.1",
"inversify-express-utils": "^6.3.2",
"jsonwebtoken": "^8.3.0",
"lodash": "^4.17.21",
"moment": "2.22.2",
"mongoose": "^5.12.3",
"reflect-metadata": "^0.1.13",
"source-map-support": "^0.5.9",
"umetrics": "^1.0.4",
"uuid": "3.3.2"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-proposal-numeric-separator": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.7.7",
"@babel/register": "^7.0.0",
"@types/amqplib": "^0.5.13",
"@types/axios": "^0.14.0",
"@types/bluebird": "^3.5.29",
"@types/bunyan": "^1.8.6",
"@types/express": "^4.17.2",
"@types/inversify-express-utils": "^2.0.0",
"@types/jest": "^24.0.25",
"@types/jsonwebtoken": "^8.3.5",
"@types/lodash": "^4.14.149",
"@types/mongoose": "^5.5.35",
"@types/node": "^12.12.21",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"babel-plugin-transform-typescript-metadata": "^0.2.2",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^0.14.3",
"jest": "^24.9.0",
"jest-junit": "^10.0.0",
"lint-staged": "^7.2.2",
"mockgoose": "^8.0.4",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "^24.2.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.5.4",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "./",
"testRegex": "\\.spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"collectCoverageFrom": [
"**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testEnvironment": "node",
"reporters": [
"default",
[
"jest-junit",
{
"suiteName": "Unit tests",
"outputDirectory": "./coverage",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": true,
"includeConsoleOutput": true
}
]
],
"globals": {
"ts-jest": {
"diagnostics": {
"warnOnly": true
}
}
}
},
"lint-staged": {
"*.js": [
"eslint --fix --ignore-path .gitignore",
"prettier --write",
"git add"
]
}
}