forked from jorge07/billing-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.52 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
{
"name": "api",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"amqplib": "^0.5.5",
"axios": "^0.19.2",
"body-parser": "^1.19.0",
"commander": "^5.1.0",
"express": "^4.17.1",
"express-prom-bundle": "^6.0.0",
"hollywood-js": "^2.0.0",
"inversify": "^5.0.1",
"mysql": "^2.14.1",
"pg": "^7.12.1",
"prom-client": "^12.0.0",
"reflect-metadata": "^0.1.10",
"tsconfig-paths": "^3.9.0",
"typeorm": "0.2.20",
"uuid": "^3.3.3",
"uuid-validate": "^0.0.3",
"winston": "^3.2.1"
},
"devDependencies": {
"@types/amqplib": "^0.5.13",
"@types/config": "^0.0.34",
"@types/express": "^4.17.1",
"@types/jest": "^25.x",
"@types/node": "^12.12",
"@types/supertest": "^2.0.8",
"@types/uuid": "^3.4.6",
"@types/uuid-validate": "^0.0.1",
"concurrently": "^5.1.0",
"eslint": "^6.5.1",
"eslint-plugin-import": "^2.18.2",
"jest": "^25.x",
"nodemon": "^1.19.4",
"supertest": "^4.0.2",
"ts-jest": "^25.x",
"ts-node": "3.3.0",
"tslint": "^5.20.0",
"typescript": "3.8.3"
},
"scripts": {
"tsrun": "node -r ts-node/register -r tsconfig-paths/register ",
"dev:run": "yarn tsrun --inspect=5858 ",
"deps": "docker-compose -f etc/env/dev/elastic.yaml -f etc/env/dev/postgres.yaml -f etc/env/dev/rabbitmq.yaml -f etc/env/dev/grafana.yaml",
"deps:up": "yarn deps up -d",
"stop": "yarn deps stop",
"deps:rm": "yarn deps down -v",
"start:dev": "yarn tsrun ./bin.ts http",
"start:dev:workers": "yarn tsrun ./bin.ts queue:consume",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"typeorm:writeModel": "yarn typeorm -f config/packages/orm/writeModel/config.js",
"typeorm:writeModel:migration:generate": "yarn typeorm:writeModel migration:generate -n",
"typeorm:writeModel:migration:run": "yarn typeorm:writeModel migration:run",
"typeorm:readModel": "yarn typeorm -f config/packages/orm/readModel/config.js -c 'readModel' ",
"typeorm:readModel:migration:generate": "yarn typeorm:readModel migration:generate -n",
"typeorm:readModel:migration:run": "yarn typeorm:readModel migration:run",
"dev": "yarn deps:up && nodemon",
"build": "./node_modules/typescript/bin/tsc -P tsconfig.json",
"lint": "./node_modules/tslint/bin/tslint -c etc/env/dev/tslint.json --fix 'src/**/*.ts' ",
"test": "NODE_ENV=test jest -i"
}
}