forked from 2004Scape/Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.29 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
{
"name": "2004scape",
"version": "1.0.0",
"type": "module",
"imports": {
"#3rdparty/*": "./src/3rdparty/*",
"#jagex2/*": "./src/jagex2/*",
"#lostcity/*": "./src/lostcity/*"
},
"scripts": {
"build": "npm run client:build && npm run server:build",
"clean": "npm run client:clean && npm run server:clean",
"client": "java -cp 225.2004-05-18.jar client 10 0 highmem members",
"client:build": "npm run ts-loader src/lostcity/tools/pack/client.ts",
"client:clean": "npm run ts-loader src/lostcity/tools/client/clean.ts",
"db:migrate": "prisma migrate deploy",
"db:reset": "prisma migrate reset --force",
"db:schema": "prisma migrate dev",
"dev": "nodemon src/lostcity/app.ts",
"friend": "npm run ts-loader src/lostcity/friend.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:build": "npm run ts-loader src/lostcity/tools/pack/server.ts",
"server:clean": "npm run ts-loader src/lostcity/tools/server/clean.ts",
"start": "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",
"web": "npm run ts-loader src/lostcity/web.ts"
},
"lint-staged": {
"package.json": "sort-package-json",
"*.{js,ts}": [
"npm run lint:staged",
"leasot --skip-unsupported --exit-nicely"
]
},
"dependencies": {
"@fastify/cookie": "^9.3.1",
"@fastify/cors": "^9.0.1",
"@fastify/formbody": "^7.4.0",
"@fastify/multipart": "^8.2.0",
"@fastify/session": "^10.8.0",
"@fastify/static": "^7.0.4",
"@fastify/view": "^9.1.0",
"@jimp/png": "^0.22.12",
"bcrypt": "^5.1.1",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"fastify": "^4.27.0",
"jimp": "^0.22.12",
"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": "^4.2.9",
"@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/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",
"cross-env": "^7.0.3",
"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.4.5",
"vitest": "^1.6.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.9.5"
},
"prisma": {
"seed": "npm run ts-loader src/lostcity/db/seed.ts"
}
}