forked from oldschoolgg/oldschoolbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 4.09 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 4.09 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
{
"name": "oldschoolbot",
"version": "0.0.1",
"private": true,
"scripts": {
"============DEVELOPMENT": "============",
"watch": "nodemon --delay 1ms -e ts -w src --exec \"tsx esbuild.mts && node --enable-source-maps dist\"",
"dev:stage1": "pnpm concurrently --raw \"pnpm install\" \"prisma db push\" \"pnpm generate:robochimp\" \"pnpm build:packages\"",
"dev:stage2": "pnpm concurrently --raw \"pnpm tsx --tsconfig scripts/tsconfig.json scripts/scripts.ts\" \"pnpm build\"",
"dev:stage3": "pnpm lint && pnpm --stream -r test",
"dev": "pnpm dev:stage1 && pnpm dev:stage2 && pnpm dev:stage3",
"watch:tsc": "tsc -w -p src",
"start": "pnpm watch",
"lint": "tsx scripts/lint.ts",
"============SCRIPTS": "============",
"spritesheet": "tsx --tsconfig scripts/tsconfig.json ./scripts/spritesheet.ts && pnpm lint",
"data": "tsx --tsconfig scripts/tsconfig.json ./scripts/monster_table.ts && pnpm lint",
"wiki": "tsx --tsconfig scripts/tsconfig.json ./scripts/wiki.ts && pnpm lint",
"generate:robochimp": "prisma generate --no-hints --schema prisma/robochimp.prisma",
"bso-data": "git fetch origin bso:bso && git checkout bso -- ./data/bso/ && git diff --name-only master bso | sort > data/misc/bso-diff.txt",
"============BUILDING": "============",
"build": "pnpm build:packages && concurrently --raw \"tsx esbuild.mts\" \"pnpm test:types\"",
"gen": "concurrently --raw \"prisma generate --no-hints\" \"pnpm generate:robochimp\" && echo \"Generated Prisma Client\"",
"============TESTING": "============",
"test": "pnpm concurrent \"pnpm test:lint\" \"pnpm test:unit\" \"pnpm test:types\"",
"test:types": "concurrently \"tsc --noEmit -p tests/unit\" \"tsc --noEmit -p tests/integration\" \"tsc --noEmit -p src\" \"tsc --noEmit -p scripts\"",
"test:lint": "biome check --diagnostic-level=error",
"test:unit": "vitest run --config vitest.unit.config.mts",
"test:docker": "docker compose up --no-attach db --build --abort-on-container-exit && docker compose down -v",
"test:watch": "vitest --config vitest.unit.config.mts --coverage",
"test:ci:unit": "pnpm concurrent \"pnpm test:unit\" \"pnpm test:lint\" \"tsc -p tests/integration\" \"tsc -p tests/unit\"",
"============MISC": "============",
"concurrent": "concurrently --raw --kill-others-on-fail",
"build:packages": "pnpm --stream -r --filter \"!.\" --filter \"!./docs\" --filter \"!test-dashboard\" build",
"============monorepo": "============",
"monorepo:build": "pnpm concurrent \"pnpm build:packages\" \"pnpm gen\" && tsx esbuild.mts",
"monorepo:test": "pnpm --stream -r test"
},
"dependencies": {
"@oldschoolgg/collectionlog": "workspace:*",
"@oldschoolgg/toolkit": "workspace:*",
"@prisma/client": "^6.10.1",
"@sapphire/ratelimits": "^2.4.9",
"@sapphire/snowflake": "^3.5.3",
"@sapphire/time-utilities": "^1.6.0",
"@sapphire/timer-manager": "^1.0.2",
"@sentry/node": "^8.49.0",
"bufferutil": "^4.0.9",
"discord.js": "^14.20.0",
"dotenv": "^16.5.0",
"e": "0.2.33",
"exit-hook": "^4.0.0",
"fast-deep-equal": "^3.1.3",
"lru-cache": "^10.3.0",
"luxon": "^3.6.1",
"murmurhash": "^2.0.1",
"node-cron": "^3.0.3",
"node-fetch": "^2.7.0",
"oldschooljs": "workspace:*",
"p-queue": "^6.6.2",
"piscina": "^4.9.2",
"postgres": "^3.4.5",
"random-js": "^2.1.0",
"remeda": "^2.23.0",
"simple-statistics": "^7.8.3",
"skia-canvas": "^1.0.2",
"sonic-boom": "^4.2.0",
"ts-pattern": "^5.7.1",
"zod": "^3.25.67"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@hono/node-ws": "^1.2.0",
"@types/luxon": "^3.6.2",
"@types/node": "^20.14.9",
"@types/node-cron": "^3.0.7",
"@types/node-fetch": "^2.6.12",
"@vitest/coverage-v8": "^3.2.4",
"concurrently": "^9.2.0",
"esbuild": "0.25.3",
"nodemon": "^3.1.10",
"prettier": "^3.5.3",
"prisma": "^6.10.1",
"sharp": "^0.34.3",
"spritesmith": "^3.5.1",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"ws": "^8.18.3"
},
"resolutions": {
"esbuild": "0.25.3"
},
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387"
}