-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·55 lines (55 loc) · 1.86 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
{
"name": "challenge_antifraud",
"version": "0.0.1",
"description": "Awesome project developed with TypeORM.",
"type": "commonjs",
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/compression": "^1.7.2",
"@types/debug": "^4.1.7",
"@types/ejs": "^3.1.2",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
"@types/node": "^18.14.0",
"@types/serve-favicon": "^2.5.3",
"@types/validator": "^13.7.12",
"@types/kafkajs": "^1.9.0",
"chai": "^4.3.7",
"eslint": "^8.34.0",
"mocha": "^10.2.0",
"nodemon": "^2.0.20",
"ts-node": "^10.9.1",
"typescript": "4.5.2"
},
"dependencies": {
"axios": "^1.3.3",
"body-parser": "^1.20.1",
"compression": "^1.7.4",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"ejs": "^3.1.8",
"express": "^4.18.2",
"helmet": "^6.0.1",
"kafkajs": "^2.2.4",
"morgan": "^1.10.0",
"pg": "^8.4.0",
"redis": "^4.6.4",
"reflect-metadata": "^0.1.13",
"serve-favicon": "^2.5.0",
"typeorm": "0.3.12",
"validator": "^13.9.0"
},
"scripts": {
"start": "ts-node src/bin/www.ts",
"nodemon": "nodemon",
"typeorm": "typeorm-ts-node-commonjs",
"migration:ts": "npx typeorm-ts-node-commonjs migration:run -d ./src/data-source-migration.ts",
"migration:js": "npx typeorm-ts-node-esm migration:run -d ./build/src/data-source-migration.js",
"migration:create:transactionType": "typeorm migration:create ./src/migrations/transaction_types",
"migration:create:transactionStatus": "typeorm migration:create ./src/migrations/transaction_status",
"migration:create:transaction": "typeorm migration:create ./src/migrations/transactions",
"build": "tsc",
"watch": "tsc --watch",
"test": "cd test && npm run test"
}
}