-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.69 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": "typescript-services",
"version": "1.0.0",
"description": "IntegrationOS Backend Typescript Services",
"author": "@IntegrationOS",
"scripts": {
"build": "tsc --build tsconfig.json && tsc-alias -p tsconfig.json",
"run-migrations::before": "export RUN_STATE=before && tsc --build tsconfig.json && tsc-alias -p tsconfig.json && node dist/libs-private/db-management/migrations/migrationsRunner.js",
"run-migrations::after": "export RUN_STATE=after && tsc --build tsconfig.json && tsc-alias -p tsconfig.json && node dist/libs-private/db-management/migrations/migrationsRunner.js",
"dev": "ts-node -r tsconfig-paths/register ./node_modules/moleculer/bin/moleculer-runner.js --hot --repl --config moleculer.config.ts apps/**/*.service.ts",
"start": "moleculer-runner --config dist/moleculer.config.js dist/apps/**/*.service.js",
"cli": "moleculer connect NATS",
"ci": "jest --watch",
"test": "jest tests",
"clear": "rm -rf dist && rm -rf node_modules && rm -rf packages/*/node_modules && rm -rf packages/*/dist",
"init": "npm run clear && npm install && npm run build"
},
"devDependencies": {
"@types/analytics-node": "^3.1.14",
"@types/bcrypt": "^5.0.2",
"@types/bcryptjs": "^2.4.6",
"@types/bytes": "^3.1.1",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^8.0.0",
"@types/jest": "28.1.1",
"@types/jsonpack": "^1.1.1",
"@types/jsonpath": "^0.2.4",
"@types/jsonwebtoken": "^9.0.2",
"@types/lodash": "^4.14.190",
"@types/lodash.merge": "^4.6.7",
"@types/ms": "^0.7.31",
"@types/mustache": "^4.2.2",
"@types/node": "18.7.1",
"@types/ramda": "^0.28.20",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"jest": "28.1.1",
"moleculer-repl": "^0.7.3",
"prettier": "^2.6.2",
"ts-jest": "28.0.5",
"ts-node": "10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "~4.8.2"
},
"dependencies": {
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/strings": "^5.7.0",
"@kubernetes/client-node": "^0.18.1",
"@types/ws": "^8.5.4",
"analytics-node": "^6.2.0",
"axios": "^1.2.0",
"bcryptjs": "^2.4.3",
"dotenv": "^16.4.5",
"ethers": "^5.7.2",
"jsonpack": "^1.1.5",
"jsonpath": "^1.1.1",
"jsonwebtoken": "^9.0.1",
"jwks-rsa": "^3.1.0",
"jwt-decode": "^3.1.2",
"lodash.merge": "^4.6.2",
"mkdirp": "^3.0.1",
"moleculer-db": "^0.8.20",
"moleculer-db-adapter-mongo": "^0.4.15",
"moleculer-web": "^0.10.4",
"mongodb": "^4.12.1",
"ms": "^2.1.3",
"mustache": "^4.2.0",
"nats": "^1.3.2",
"option-t": "33.1.1",
"stripe": "^16.6.0",
"tsc-alias": "^1.8.2",
"tslib": "^2.3.0"
},
"jest": {
"coverageDirectory": "<rootDir>/coverage",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*.spec.(ts|js)"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"moduleNameMapper": {
"^@event-inc/private::types": "<rootDir>/libs-private/data-models",
"^@event-inc/(.*)$": "<rootDir>/packages/$1",
"^@libs-private/(.*)$": "<rootDir>/libs-private/$1",
"^@libs/(.*)$": "<rootDir>/libs/$1",
"^@apps/(.*)$": "<rootDir>/apps/$1",
"^@event-inc/constants": "<rootDir>/libs-private/constants"
}
},
"workspaces": [
"packages/*"
]
}