-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
62 lines (62 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
{
"name": "api",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@gquittet/graceful-server": "^2.3.3",
"amqplib": "^0.5.5",
"axios": "^0.21.2",
"commander": "^5.1.0",
"fastify": "^3.14.1",
"fastify-graceful-shutdown": "^3.1.0",
"fastify-metrics": "^7.1.0",
"fastify-swagger": "^4.4.2",
"hollywood-js": "^5.0.2",
"pg": "^8.0.3",
"tsconfig-paths": "^3.9.0",
"ts-node": "9.0.0",
"typeorm": "^0.2.28",
"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/jest": "^26.x",
"@types/node": "^14.11.2",
"@types/uuid": "^3.4.6",
"@types/uuid-validate": "^0.0.1",
"concurrently": "^5.x",
"eslint": "^7.11.0",
"eslint-plugin-import": "^2.x",
"jest": "^26.x",
"nodemon": "^2.0.4",
"ts-jest": "^26.x",
"tslint": "^5.20.0",
"typescript": "4.0.2"
},
"scripts": {
"jsrun": "node -r tsconfig-paths/register ",
"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 billing.ts http",
"start:dev:workers": "yarn tsrun billing.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 && yarn typeorm:readModel:migration:run && yarn typeorm:writeModel:migration:run && 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"
}
}