-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
109 lines (109 loc) · 4.38 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
{
"name": "siwe_microservice",
"version": "1.0.0",
"description": "General Authentication Service for all Giveth Dapps",
"main": "index.js",
"scripts": {
"build": "tsc --project ./ && tsc-alias",
"prestart": "npm run swagger",
"swagger": "tsoa spec",
"prebuild": "npm run swagger",
"start": "NODE_ENV=development ts-node-dev --project ./tsconfig.json --respawn ./src/index.ts",
"test": "NODE_ENV=test mocha -t 30000 --exit ./test/pre-test-scripts.ts ./src/**/*.test.ts ./src/**/**/*.test.ts",
"test:applicationRepository": "NODE_ENV=test mocha -t 30000 --exit ./test/pre-test-scripts.ts ./src/repositories/applicationRepository.test.ts ",
"test:organizationRepository": "NODE_ENV=test mocha -t 30000 --exit ./test/pre-test-scripts.ts ./src/repositories/organizationRepository.test.ts",
"test:tokenRouter": "NODE_ENV=test mocha -t 30000 --exit ./test/pre-test-scripts.ts ./src/routes/v1/tokenRouter.test.ts",
"test:donationRouter": "NODE_ENV=test mocha -t 30000 --exit ./test/pre-test-scripts.ts ./src/routes/v1/donationRouter.test.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prettify": "prettier --write '**/*.ts*'",
"db:migrate:run:local": "NODE_ENV=development npx typeorm-ts-node-esm migration:run -d ./src/dataSource.ts ",
"db:migrate:run:staging": "NODE_ENV=staging npx typeorm-ts-node-esm migration:run -d ./src/dataSource.ts ",
"db:migrate:run:develop": "NODE_ENV=develop npx typeorm-ts-node-esm migration:run -d ./src/dataSource.ts ",
"db:migrate:run:production": "NODE_ENV=production npx typeorm-ts-node-esm migration:run -d ./src/dataSource.ts ",
"db:migrate:revert:local": "NODE_ENV=development npx typeorm-ts-node-esm migration:revert -d ./src/dataSource.ts ",
"db:migrate:run:test": "NODE_ENV=test npx typeorm-ts-node-esm migration:run -d ./src/dataSource.ts ",
"db:migrate:revert:test": "NODE_ENV=test npx typeorm-ts-node-esm migration:revert -d ./src/dataSource.ts",
"start:server:staging": "npm run db:migrate:run:staging && cd dist && pm2-runtime src/index.js",
"start:server:develop": "npm run db:migrate:run:develop && cd dist && pm2-runtime src/index.js",
"start:server:production": "npm run db:migrate:run:production && cd dist && pm2-runtime src/index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"husky": {
"hooks": {
"pre-commit": "npm run prettify && npm run lint"
}
},
"dependencies": {
"@adminjs/express": "^5.1.0",
"@adminjs/typeorm": "^4.0.0",
"@ethersproject/testcases": "^5.7.0",
"@safe-global/api-kit": "^1.3.1",
"@safe-global/protocol-kit": "^1.3.0",
"@solana/web3.js": "^1.87.6",
"@types/cors": "^2.8.10",
"@types/ioredis": "^4.22.0",
"@types/jsonwebtoken": "^8.5.0",
"@web3auth/sign-in-with-solana": "^3.0.0",
"adminjs": "^6.8.7",
"axios": "^1.3.4",
"bcrypt": "5.0.1",
"body-parser": "^1.20.0",
"bs58": "^5.0.0",
"bunyan": "^1.8.15",
"bunyan-elasticsearch": "^1.0.1",
"bunyan-rotating-file-stream": "^2.0.1",
"connect-redis": "6.1.3",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"ethers": "^5.7.2",
"express": "4.17.3",
"ioredis": "^5.3.1",
"joi": "^17.6.0",
"jsonwebtoken": "^9.0.0",
"moment": "^2.29.4",
"pg": "^8.10.0",
"rate-limit-redis": "^2.1.0",
"reflect-metadata": "^0.1.13",
"siwe": "^1.1.6",
"swagger-ui-express": "^4.3.0",
"tsoa": "^5.1.1",
"tweetnacl": "^1.0.3",
"typeorm": "0.3.11"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/bcrypt": "^5.0.0",
"@types/bunyan": "^1.8.8",
"@types/chai": "^4.3.1",
"@types/express": "4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.10",
"@types/sinon": "^10.0.11",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "5.20.0",
"@typescript-eslint/parser": "5.20.0",
"chai": "^4.3.6",
"eslint": "8.10.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "7.0.4",
"mocha": "^10.2.0",
"prettier": "2.5.1",
"sinon": "^13.0.1",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsc-alias": "^1.8.6",
"tsconfig-paths": "^4.2.0",
"typescript": "4.5.2",
"typescript-transform-paths": "^3.4.6"
},
"overrides": {
"siwe": {
"ethers": "^5.7.2"
}
}
}