forked from bitfinexcom/bfx-reports-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.97 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
{
"name": "bfx-reports-framework",
"version": "4.21.0",
"description": "Bitfinex reports framework",
"main": "worker.js",
"license": "Apache-2.0",
"dependencies": {
"better-npm-run": "0.1.1",
"bfx-facs-db-better-sqlite": "git+https://github.com/bitfinexcom/bfx-facs-db-better-sqlite.git",
"bfx-facs-scheduler": "git+https://github.com:bitfinexcom/bfx-facs-scheduler.git",
"bfx-report": "git+https://github.com/bitfinexcom/bfx-report.git",
"bfx-svc-boot-js": "https://github.com/bitfinexcom/bfx-svc-boot-js.git",
"bignumber.js": "9.1.2",
"csv": "5.5.3",
"grenache-nodejs-ws": "git+https://github.com:bitfinexcom/grenache-nodejs-ws.git",
"html-pdf": "3.0.1",
"inversify": "6.0.1",
"lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git",
"lodash": "4.17.21",
"moment": "2.29.4",
"uuid": "9.0.0",
"yargs": "17.2.1"
},
"devDependencies": {
"bfx-api-mock-srv": "git+https://github.com/bitfinexcom/bfx-api-mock-srv.git",
"bfx-report-express": "git+https://github.com/bitfinexcom/bfx-report-express.git",
"chai": "4.3.4",
"grenache-grape": "git+https://github.com/bitfinexcom/grenache-grape.git",
"mocha": "10.1.0",
"nodemon": "2.0.20",
"standard": "17.0.0",
"supertest": "6.3.2"
},
"contributors": [
"Paolo Ardoino <[email protected]>",
"Ezequiel Wernicke <[email protected]>",
"Vladimir Voronkov <[email protected]>"
],
"standard": {
"globals": [
"describe",
"it",
"before",
"after",
"beforeEach",
"afterEach"
],
"ignore": [
"bfx-report-ui"
]
},
"nodemonConfig": {
"verbose": true,
"ignore": [
"test/",
"db/",
"node_modules/",
"logs/",
".git/",
".idea/",
".vscode/",
"csv/",
"workers/loc.api/queue/temp/",
"workers/loc.api/queue/views/"
]
},
"betterScripts": {
"start:serv": {
"command": "nodemon ./node_modules/bfx-report-express",
"env": {
"NODE_ENV": "development",
"NODE_CONFIG_DIR": "./test/config"
}
},
"test": {
"command": "standard && mocha './workers/**/__test__/*.spec.js' './test/**/*.spec.js' --config .mocharc.json",
"env": {
"NODE_ENV": "test"
}
},
"unit": {
"command": "mocha './workers/**/__test__/*.spec.js' --config .mocharc.json",
"env": {
"NODE_ENV": "test"
}
},
"testDev": {
"command": "standard && mocha --recursive test/**/*-dev.spec.js --exit --timeout 10000",
"env": {
"NODE_ENV": "test"
}
},
"start:back": {
"command": "node worker.js --env=production --wtype=wrk-report-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true",
"env": {
"NODE_ENV": "production"
}
},
"start:express": {
"command": "cd bfx-report-ui/bfx-report-express && npm run start",
"env": {
"NODE_ENV": "production"
}
},
"start:ui": {
"command": "cd bfx-report-ui && npm run start"
},
"start:all": {
"command": "npm run startBackEnd | npm run startExpress | npm run startUI"
}
},
"scripts": {
"init": "bash init.sh",
"initDev": "bash init.sh -d",
"startOld": "node worker.js --env=production --wtype=wrk-report-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true",
"startDev": "nodemon worker.js --env=development --wtype=wrk-report-framework-api --apiPort 1337 --dbId 1 --isSchedulerEnabled true",
"startServDev": "better-npm-run start:serv",
"startSimulEnv": "node node_modules/bfx-report/test/simulate/simulate-enviroment.js",
"test": "better-npm-run test",
"testDev": "better-npm-run testDev",
"startBackEnd": "better-npm-run start:back",
"startExpress": "better-npm-run start:express",
"startUI": "better-npm-run start:ui",
"start": "better-npm-run start:all",
"unit": "better-npm-run unit",
"migration": "node scripts/node/migration"
}
}