forked from thibaultyou/tradingview-alerts-processor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.06 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
{
"name": "tradingview-alerts-processor",
"version": "1.0.1",
"description": "Minimalist service designed to execute TradingView webhooks and process them on cryptocurrencies exchanges.",
"main": "server.js",
"author": "Thibault YOU",
"license": "MIT",
"scripts": {
"clean": "rimraf dist",
"dev": "npm run clean && concurrently \"npm run lint\" \"npm run prettier:watch\" \"npm run test:watch\" \"nodemon src/server.ts\"",
"lint": "npm run clean && eslint . --ext .ts",
"lint:fix": "npm run clean && eslint . --ext .ts --fix",
"prettier:watch": "npm run clean && onchange ./src/**/*.ts -- prettier --write {{changed}}",
"prettier:format": "npm run clean && prettier --config .prettierrc ./src/**/*.ts --write",
"start": "ts-node src/server.ts",
"start:prod": "node dist/server.js",
"build": "npm run clean && tsc --project tsconfig.json",
"test": "npm run clean && jest",
"test:cov": "npm run clean && jest --coverage",
"test:watch": "npm run clean && jest --watchAll",
"docker:dev": "sudo docker-compose -f docker-compose.dev.yml build && sudo docker-compose -f docker-compose.dev.yml up",
"docker:build": "sudo docker build --no-cache -t madamefleur/tradingview-alerts-processor .",
"docker:push": "sudo docker push madamefleur/tradingview-alerts-processor",
"docker:prod": "npm run docker:build && npm run docker:push",
"api:doc:html": "docgen build -i ./docs/api/collection.json -o ./docs/api/API.html",
"api:doc:md": "docgen build -i ./docs/api/collection.json -o ./docs/api/API.md -m",
"api:doc": "npm run api:doc:html && npm run api:doc:md"
},
"pre-commit": [
"lint:fix",
"prettier:format",
"test:cov"
],
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
".+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*.test.(ts|js)"
],
"testEnvironment": "node",
"setupFiles": [
"./src/tests/setup.jest.mocks.ts"
],
"testPathIgnorePatterns": [
"dist"
]
},
"dependencies": {
"ccxt": "1.69.28",
"class-transformer": "0.5.1",
"class-transformer-validator": "0.9.1",
"class-validator": "0.13.2",
"express": "4.17.2",
"handy-redis": "2.3.1",
"node-json-db": "1.4.1",
"redis": "3.1.2",
"typescript": "4.5.5",
"uuid": "8.3.2",
"winston": "3.4.0"
},
"devDependencies": {
"@types/express": "4.17.13",
"@types/jest": "27.4.0",
"@types/node": "17.0.10",
"@types/redis": "2.8.32",
"@types/uuid": "8.3.4",
"@types/validator": "^13.7.1",
"@typescript-eslint/eslint-plugin": "5.10.0",
"@typescript-eslint/parser": "5.10.0",
"concurrently": "7.0.0",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"jest": "27.4.7",
"madge": "^5.0.1",
"nodemon": "2.0.15",
"onchange": "7.1.0",
"pre-commit": "1.2.2",
"prettier": "^2.5.1",
"rimraf": "3.0.2",
"ts-jest": "27.1.3",
"ts-node": "10.4.0"
}
}