-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
88 lines (87 loc) · 3.87 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
{
"name": "apigive",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc --project ./",
"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 -r ts-node/register ./test/pre-test-scripts.ts ./src/**/*.test.ts ./src/**/**/*.test.ts",
"test:applicationRepository": "NODE_ENV=test mocha -t 30000 --exit -r ts-node/register ./test/pre-test-scripts.ts ./src/repositories/applicationRepository.test.ts ",
"test:organizationRepository": "NODE_ENV=test mocha -t 30000 --exit -r ts-node/register ./test/pre-test-scripts.ts ./src/repositories/organizationRepository.test.ts",
"test:logRepository": "NODE_ENV=test mocha -t 30000 --exit -r ts-node/register ./test/pre-test-scripts.ts ./src/repositories/logRepository.test.ts",
"test:tokenRouter": "NODE_ENV=test mocha -t 30000 --exit -r ts-node/register ./test/pre-test-scripts.ts ./src/routes/v1/tokenRouter.test.ts",
"test:donationRouter": "NODE_ENV=test mocha -t 30000 --exit -r ts-node/register ./test/pre-test-scripts.ts ./src/routes/v1/donationRouter.test.ts",
"test:addLog": "NODE_ENV=test mocha -t 30000 --exit -r ts-node/register ./test/pre-test-scripts.ts ./src/middlewares/addLog.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: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: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": "4.1.0",
"@adminjs/typeorm": "3.0.0",
"adminjs": "5.10.0",
"axios": "0.27.2",
"bcrypt": "5.0.1",
"body-parser": "^1.20.0",
"bunyan": "^1.8.15",
"bunyan-rotating-file-stream": "2.0.1",
"connect-redis": "6.1.3",
"cookie-parser": "1.4.6",
"dotenv": "16.0.0",
"express": "4.17.3",
"express-formidable": "1.2.0",
"express-session": "1.17.2",
"ioredis": "5.0.4",
"joi": "17.6.0",
"jsonwebtoken": "^8.5.1",
"pg": "8.4.0",
"reflect-metadata": "0.1.13",
"swagger-ui-express": "4.3.0",
"tsoa": "3.14.1",
"typeorm": "0.3.6"
},
"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/express-session": "^1.17.4",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.10",
"@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",
"husky": "7.0.4",
"mocha": "9.2.2",
"pgtools": "^0.3.2",
"prettier": "2.5.1",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"typescript": "4.5.2"
}
}