-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
128 lines (128 loc) · 4.08 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@bitsacco/os",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "MIT",
"scripts": {
"start": "docker compose -p os up",
"stop": "docker compose -p os down",
"dev": "nest start --watch",
"debug": "nest start --debug --watch",
"build": "nest build",
"build:auth": "bun run build auth",
"build:api": "bun run build api",
"build:swap": "bun run build swap",
"build:nostr": "bun run build nostr",
"build:sms": "bun run build sms",
"build:shares": "bun run build shares",
"build:solowallet": "bun run build solowallet",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"lint": "bun run eslint \"{apps,libs,test}/**/*.ts\" --fix",
"test": "bun test",
"test:watch": "bun test --watch",
"test:cov": "bun test --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "bun test apps/api/test/ --config ./apps/api/test/jest-e2e.json",
"proto:gen": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./libs/common/src/types/proto --ts_proto_opt=nestJs=true --ts_proto_opt=exportCommonSymbols=false --ts_proto_opt=eslint_disable -I ./proto ./proto/*.proto",
"proto:clean": "rm ./libs/common/src/types/proto/*.ts"
},
"dependencies": {
"@grpc/grpc-js": "^1.12.2",
"@grpc/proto-loader": "^0.7.13",
"@grpc/reflection": "^1.0.4",
"@nestjs/axios": "^3.1.0",
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.0.0",
"@nestjs/event-emitter": "^2.1.1",
"@nestjs/jwt": "^10.2.0",
"@nestjs/microservices": "^10.4.5",
"@nestjs/mongoose": "^10.1.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/sequelize": "^10.0.1",
"@nestjs/swagger": "^7.4.2",
"@nostr-dev-kit/ndk": "^2.10.6",
"africastalking": "^0.7.0",
"bcryptjs": "^2.4.3",
"cache-manager": "4.1.0",
"cache-manager-redis-store": "^3.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"install": "^0.13.0",
"intasend-node": "^1.1.2",
"ioredis": "^5.4.1",
"joi": "^17.13.3",
"light-bolt11-decoder": "^3.2.0",
"mongoose": "^8.8.0",
"nestjs-pino": "^4.1.0",
"nostr-tools": "^2.10.3",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pino-http": "^10.3.0",
"pino-pretty": "^11.3.0",
"redis": "^4.7.0",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1",
"sequelize-typescript": "^2.1.6",
"ts-proto": "^2.2.4"
},
"devDependencies": {
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@types/bcryptjs": "^2.4.6",
"@types/bun": "latest",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/node": "^22.7.5",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@types/sequelize": "^4.28.20",
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"bun-types": "^1.1.30",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/libs/",
"<rootDir>/apps/"
],
"moduleNameMapper": {
"^@bitsacco/common(|/.*)$": "<rootDir>/libs/common/src/$1",
"^@bitsacco/testing(|/.*)$": "<rootDir>/libs/testing/src/$1"
}
}
}