-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.02 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
{
"name": "trucoshi",
"version": "6.0.0",
"description": "Lightning Truco Server",
"main": "dist/types.js",
"license": "GPL-3.0",
"author": "Fran <jfrader.com>",
"keywords": [
"bitcoin",
"lightning"
],
"paths": {
"trucoshi": [
"./"
],
"@trucoshi/prisma": [
"./prisma/client"
]
},
"scripts": {
"build": "yarn prisma generate --generator distClient && yarn run rimraf ./build && yarn run tsc --project .",
"build:dist": "yarn run rimraf ./dist && yarn prisma generate --generator distClient && yarn run tsc --project ./tsconfig.dist.json",
"start": "nodemon",
"start:migrate": "prisma db push && yarn start",
"start:prod": "node bin/trucoshi-server",
"start:prod:migrate": "prisma migrate deploy && yarn start:prod",
"docker": "docker compose -f docker-compose.yml --env-file .env up --build --abort-on-container-exit",
"docker:exec": "docker compose exec -i server yarn",
"docker:prod": "docker compose -f docker-compose.prod.yml --env-file .env up --build",
"docker:staging": "docker compose -f docker-compose.staging.yml --env-file .env up --build",
"docker:test": "docker compose -f docker-compose.e2e.yml --env-file .env.test up --build --abort-on-container-exit",
"test": "dotenv -e .env.test -- ts-mocha --exit ./test/lib/**/*.ts -t 50000",
"test:e2e": "prisma db push --force-reset && dotenv -e .env.test -- ts-mocha --exit ./test/**/*.ts -t 60000",
"profiler": "node --prof ./bin/trucoshi-server",
"prepublishOnly": "yarn test && yarn build:dist",
"cli:autoplay": "yarn run ts-node src/cli/autoplay",
"cli:play": "yarn run ts-node src/cli/play",
"db:push": "prisma db push",
"db:studio": "prisma studio",
"db:migrate": "prisma migrate dev"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/expect": "^24.3.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"nodemon": "^2.0.20",
"prisma": "^4.14.1",
"socket.io-client": "^4.5.4",
"ts-mocha": "^10.0.0"
},
"files": [
"dist/lib/*",
"dist/types.js",
"dist/types.d.ts",
"dist/events.js",
"dist/events.d.ts",
"dist/server/constants.js",
"dist/server/constants.d.ts",
"prisma/client/index.js",
"prisma/client/index.d.ts",
"prisma/client/schema.prisma"
],
"dependencies": {
"@prisma/client": "^4.14.1",
"@socket.io/redis-adapter": "^8.2.1",
"@types/jsonwebtoken": "^9.0.5",
"@types/node-forge": "^1.3.11",
"@types/pino": "^7.0.5",
"@types/redis": "^4.0.11",
"axios": "^1.6.3",
"axios-cookiejar-support": "^5.0.0",
"dotenv": "^16.0.3",
"dotenv-cli": "^7.3.0",
"form-data": "^4.0.0",
"jsonwebtoken": "^9.0.2",
"lightning-accounts": "^4.1.0",
"node-forge": "^1.3.1",
"path-scurry": "^1.9.2",
"pino": "^9.3.2",
"pino-pretty": "^11.2.2",
"rimraf": "^4.1.1",
"safe-rng": "^1.0.4",
"socket.io": "^4.5.4",
"ts-node": "^10.9.1",
"tsc": "^2.0.4",
"typescript": "^5.3.3"
}
}