forked from 2004Scape/Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.07 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
{
"name": "2004scape",
"version": "1.0.0",
"type": "module",
"imports": {
"#3rdparty/*": "./src/3rdparty/*",
"#jagex2/*": "./src/jagex2/*",
"#lostcity/*": "./src/lostcity/*"
},
"scripts": {
"build": "npm run ts-loader src/lostcity/tools/cache/pack.ts",
"bundle": "npm run bundle:esbuild",
"bundle:bun": "bun bundle.js",
"bundle:esbuild": "npm run ts-loader bundle.js",
"clean": "npm run client:clean && npm run server:clean",
"client": "java -cp 225.2004-05-18.jar client 10 0 highmem members",
"client:clean": "npm run ts-loader src/lostcity/tools/cache/cleanClient.ts",
"db:migrate": "prisma migrate deploy",
"db:reset": "prisma migrate reset --force",
"db:schema": "prisma migrate dev",
"dev": "nodemon src/lostcity/app.ts",
"friends": "npm run ts-loader src/lostcity/friends.ts",
"lint": "eslint src --ext .ts --ext .js",
"lint:staged": "eslint --ext .ts --ext .js",
"login": "npm run ts-loader src/lostcity/login.ts",
"maintenance": "npm run ts-loader src/lostcity/maintenance.ts",
"precommit": "prettier . --write && eslint . --ext .ts --ext .js --fix",
"prepare": "husky",
"server:clean": "npm run ts-loader src/lostcity/tools/cache/cleanServer.ts",
"start": "npm i && npm run ts-loader src/lostcity/app.ts",
"test": "vitest run ./src",
"todo": "leasot src/ --skip-unsupported --exit-nicely",
"ts-loader": "node --import @swc-node/register/esm-register --enable-source-maps --no-warnings"
},
"lint-staged": {
"package.json": "sort-package-json",
"*.{js,ts}": [
"npm run lint:staged",
"leasot --skip-unsupported --exit-nicely"
]
},
"dependencies": {
"@jimp/png": "^0.22.12",
"axios": "^1.7.2",
"bcrypt": "^5.1.1",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"jimp": "^0.22.12",
"kleur": "^4.1.5",
"kysely": "^0.27.3",
"mysql2": "^3.9.7",
"node-forge": "^1.3.1",
"watcher": "^2.3.1",
"ws": "^8.17.0"
},
"devDependencies": {
"@2004scape/rsmod-pathfinder": "^5.0.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/types": "^19.0.3",
"@swc-node/register": "1.9.0",
"@swc/core": "1.5.7",
"@swc/helpers": "^0.5.11",
"@types/bcrypt": "^5.0.2",
"@types/bun": "^1.1.6",
"@types/ejs": "^3.1.5",
"@types/eslint": "^8.56.10",
"@types/node": "^20.12.12",
"@types/node-forge": "^1.3.11",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"eslint-plugin-unused-imports": "^3.2.0",
"eslint-plugin-vitest": "^0.5.4",
"husky": "^9.0.11",
"leasot": "^13.3.0",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.0",
"prettier": "3.2.5",
"prisma": "^5.14.0",
"prisma-kysely": "^1.8.0",
"sort-package-json": "^2.10.0",
"tinybench": "^2.8.0",
"typescript": "^5.5.4",
"vitest": "^1.6.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.9.5"
},
"prisma": {
"seed": "npm run ts-loader src/lostcity/db/seed.ts"
}
}