-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 4.07 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 4.07 KB
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
{
"name": "backend-nodejs",
"version": "1.0.0",
"main": "index.ts",
"license": "MIT",
"private": true,
"scripts": {
"start": "yarn service:main",
"service:main": "node ./dist/runners/main",
"service:api-user": "node ./dist/runners/api-user",
"service:api-user:dev": "ts-node-dev -r tsconfig-paths/register --respawn --ignore-watch ./node_modules runners/api-user.ts",
"env:config": "ts-node postgres:create ./config/secretManager",
"build": "rimraf ./dist && npx tsc -p ./tsconfig.json && tsconfig-replace-paths && cp -r ./config/scripts ./dist/config/",
"postgres:create": "ts-node -r tsconfig-paths/register runners/postgresCreate.ts",
"postgres:migrate": "ts-node -r tsconfig-paths/register runners/postgresMigration.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"test:unit": "ts-mocha -r tsconfig-paths/register ./test/test.config.ts ./test/mockDb.ts ./test/unit/**/*.ts --exit",
"docker:down": "docker-compose down",
"docker:dependencies": "docker-compose up -d --build mongodb postgres",
"docker:services": "docker-compose up -d --build service-api-user",
"wait:mongodb": "config/scripts/waitUp.sh mongodb 27017",
"wait:postgres": "config/scripts/waitUp.sh postgres 5432",
"wait:api-user": "config/scripts/waitUp.sh service-api-user 3000"
},
"dependencies": {
"@aws-sdk/client-cognito-identity-provider": "^3.299.0",
"@aws-sdk/client-secrets-manager": "^3.299.0",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
"@sentry/node": "^7.47.0",
"amazon-cognito-identity-js": "^6.2.0",
"async": "^3.2.4",
"axios": "^1.3.4",
"bcrypt": "^5.1.0",
"decimal.js": "^10.4.3",
"disposable-email-domains": "^1.0.62",
"dotenv": "^16.0.3",
"joi": "^17.9.1",
"jsonwebtoken": "^9.0.0",
"koa": "^2.14.1",
"koa-bodyparser": "^4.4.0",
"koa-compose": "^4.1.0",
"koa-jwt": "^4.0.4",
"lodash": "^4.17.21",
"logzio-nodejs": "^2.1.5",
"moment": "^2.29.4",
"mongoose": "^7.0.3",
"node-rsa": "^1.1.1",
"onesignal-node": "^3.4.0",
"pg": "^8.10.0",
"sequelize": "^6.30.0",
"speakeasy": "^2.0.0",
"toobusy-js": "^0.5.1",
"ts-node": "^10.9.1",
"ts-retry-promise": "^0.7.0",
"tsc": "^2.0.4",
"tsc-alias": "^1.8.5",
"tsconfig-replace-paths": "^0.0.14",
"typescript": "*",
"ua-parser-js": "^1.0.34",
"umzug": "^3.2.1",
"uuid": "^9.0.0",
"winston": "^3.8.2",
"winston-transport": "^4.5.0"
},
"devDependencies": {
"@types/async": "^3.2.18",
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/expect": "^24.3.0",
"@types/jsonwebtoken": "^9.0.1",
"@types/koa": "^2.13.5",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-compose": "^3.2.5",
"@types/koa__cors": "^4.0.0",
"@types/koa__router": "^12.0.0",
"@types/lodash": "^4.14.191",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.6",
"@types/node-rsa": "^1.1.1",
"@types/promise-retry": "^1.1.3",
"@types/sinon": "^10.0.13",
"@types/speakeasy": "^2.0.7",
"@types/toobusy-js": "^0.5.2",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-date-string": "^0.1.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"mocha": "^10.2.0",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"sequelize-mocking": "git+https://github.com/cristianizzo/sequelize-mocking.git",
"sinon": "^15.0.3",
"ts-mocha": "^10.0.0",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0"
}
}