forked from bitfinexcom/bfx-reports-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.79 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
{
"name": "bfx-reports-framework",
"version": "3.0.0",
"description": "Bitfinex reports framework",
"main": "worker.js",
"license": "Apache-2.0",
"dependencies": {
"better-npm-run": "^0.1.1",
"bfx-facs-db-sqlite": "git+https://github.com:bitfinexcom/bfx-facs-db-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",
"csv": "^5.1.1",
"grenache-nodejs-ws": "git+https://github.com:bitfinexcom/grenache-nodejs-ws.git",
"inversify": "^5.0.1",
"lodash": "^4.17.11",
"moment": "^2.24.0",
"scrypt-js": "^3.0.0",
"sqlite3": "4.1.1",
"uuid": "^8.0.0",
"yargs": "^13.2.4"
},
"devDependencies": {
"bfx-report-express": "git+https://github.com/bitfinexcom/bfx-report-express.git",
"bfx-api-mock-srv": "git+https://github.com/bitfinexcom/bfx-api-mock-srv.git",
"grenache-grape": "^0.9.8",
"mocha": "^6.1.4",
"chai": "^4.2.0",
"nodemon": "^1.18.10",
"supertest": "^4.0.2",
"standard": "^14.3.1"
},
"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"
}
}