-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
145 lines (145 loc) · 4.96 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
141
142
143
144
145
{
"name": "binance-trading-bot",
"version": "1.0.0",
"description": "Binance Auto Trading Bot",
"scripts": {
"prepare": "husky install",
"start": "node dist/server.js",
"dev": "cross-env NODE_ENV=development nodemon --trace-warnings app/server.js",
"build:webpack": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js --progress --profile",
"build:grunt": "grunt",
"lint": "eslint ./app --fix",
"test": "cross-env NODE_ENV=test jest --coverage --detectOpenHandles",
"docker:build": "npm run docker:build:bot:prod && npm run docker:build:tradingview:prod",
"docker:build:dev": "npm run docker:build:bot:dev && npm run docker:build:tradingview:dev",
"docker:build:win": "powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./scripts/docker-build.ps1",
"docker:build:bot:prod": "docker build . --build-arg PACKAGE_VERSION=$(node -p \"require('./package.json').version\") --build-arg GIT_HASH=$(git rev-parse --short HEAD) --build-arg NODE_ENV=production --target production-stage -t chkmrv/binance-bot-trader:latest",
"docker:build:tradingview:prod": "docker build ./tradingview -t chkmrv/binance-bot-trader:tradingview",
"docker:build:bot:dev": "docker build . --build-arg PACKAGE_VERSION=$(node -p \"require('./package.json').version\") --build-arg GIT_HASH=$(git rev-parse --short HEAD) --build-arg NODE_ENV=development --target dev-stage -t chkmrv/binance-bot-trader:latest",
"docker:build:tradingview:dev": "docker build ./tradingview -t chkmrv/binance-bot-trader:tradingview",
"migrate:create": "./node_modules/.bin/migrate create",
"migrate:up": "./node_modules/.bin/migrate up --store=/srv/mongo-state-storage.js",
"migrate:down": "./node_modules/.bin/migrate down --store=/srv/mongo-state-storage.js"
},
"repository": {
"type": "git",
"url": "https://github.com/chkmrv/binance-bot-trader.git"
},
"keywords": [
"Binance",
"Auto Trading Bot",
"Binance Trading Bot"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/chkmrv/binance-bot-trader/issues"
},
"homepage": "https://github.com/chkmrv/binance-bot-trader#readme",
"dependencies": {
"axios": "^0.27.2",
"bcryptjs": "^2.4.3",
"binance-api-node": "^0.11.43",
"bunyan": "^1.8.15",
"clean-webpack-plugin": "^4.0.0",
"compression": "^1.7.4",
"config": "^3.3.7",
"cors": "^2.8.5",
"cron": "^2.0.0",
"cross-env": "^7.0.3",
"express": "^4.18.1",
"express-fileupload": "^1.4.0",
"husky": "^8.0.1",
"ioredis": "^5.0.5",
"jsonwebtoken": "^8.5.1",
"localtunnel": "^2.0.2",
"lodash": "^4.17.21",
"lodash-webpack-plugin": "^0.11.6",
"migrate": "^1.8.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.37",
"mongodb": "4.1.0",
"pubsub-js": "^1.9.4",
"qs": "^6.11.0",
"rate-limiter-flexible": "^2.3.8",
"redlock": "^4.2.0",
"request-ip": "^3.3.0",
"shelljs": "^0.8.5",
"uuid": "^8.3.2",
"ws": "^8.8.1"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/plugin-transform-react-jsx": "^7.17.12",
"@babel/preset-env": "^7.18.2",
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.36",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.5",
"babel-plugin-lodash": "^3.3.4",
"babel-preset-env": "^1.7.0",
"branch-name-lint": "^2.1.1",
"eslint": "^8.16.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.4.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"grunt": "^1.5.3",
"grunt-babel": "^8.0.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-cssmin": "^4.0.0",
"jest": "^28.1.0",
"lint-staged": "^12.4.2",
"nodemon": "^2.0.19",
"prettier": "^2.6.2",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
},
"jest": {
"testEnvironment": "node",
"resetMocks": false,
"globalSetup": "./jest.setup.js",
"collectCoverageFrom": [
"app/**/*.js",
"!**/node_modules/**",
"!**/__tests__/**",
"!**/coverage/**"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"npm run lint",
"git add",
"npm test ."
]
}
}