-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.07 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 4.07 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
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": "@open-core/framework",
"version": "1.0.11",
"description": "Secure, event-driven TypeScript Framework & Runtime engine for CitizenFX (Cfx).",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "commonjs",
"repository": {
"type": "git",
"url": "git+https://github.com/newcore-network/opencore.git"
},
"homepage": "https://opencorejs.dev",
"bugs": {
"url": "https://github.com/newcore-network/opencore/issues"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./server": {
"types": "./dist/runtime/server/index.d.ts",
"import": "./dist/runtime/server/index.js",
"require": "./dist/runtime/server/index.js"
},
"./client": {
"types": "./dist/runtime/client/index.d.ts",
"import": "./dist/runtime/client/index.js",
"require": "./dist/runtime/client/index.js"
},
"./contracts": {
"types": "./dist/contracts.d.ts",
"import": "./dist/contracts.js",
"require": "./dist/contracts.js"
},
"./contracts/client": {
"types": "./dist/contracts/client.d.ts",
"import": "./dist/contracts/client.js",
"require": "./dist/contracts/client.js"
},
"./contracts/server": {
"types": "./dist/contracts/server.d.ts",
"import": "./dist/contracts/server.js",
"require": "./dist/contracts/server.js"
},
"./kernel": {
"types": "./dist/kernel-public.d.ts",
"import": "./dist/kernel-public.js",
"require": "./dist/kernel-public.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch",
"check": "biome check .",
"check:fix": "biome check --write .",
"check:fix:unsafe": "biome check --write --unsafe",
"format": "biome format --write .",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"typecheck": "tsc -p tsconfig.build.json --noEmit && tsc -p tsconfig.test.json --noEmit",
"test": "npx vitest run --project unit --project integration",
"test:ci": "npx vitest run --project unit --project integration",
"test:watch": "npx vitest --project unit --project integration",
"test:unit": "npx vitest run --project unit",
"test:integration": "npx vitest run --project integration",
"test:coverage": "npx vitest run --coverage",
"bench": "npx tsx benchmark/index.ts --value",
"bench:value": "npx tsx benchmark/index.ts --value",
"bench:gold": "BENCHMARK_SUITE=gold npx vitest run --project benchmark-gold",
"bench:startup": "npx tsx benchmark/index.ts --startup",
"bench:diagnostic": "npx tsx benchmark/index.ts --diagnostic",
"bench:soak": "BENCHMARK_SUITE=soak npx vitest run --project benchmark-soak",
"bench:core": "npx tsx benchmark/index.ts --diagnostic",
"bench:load": "npx vitest run --project benchmark-gold --project benchmark-startup",
"bench:all": "npx tsx benchmark/index.ts --all",
"validate": "pnpm check && pnpm typecheck && pnpm test",
"lint-staged": "lint-staged",
"prepare": "husky"
},
"keywords": [
"framework",
"opencore",
"ragemp",
"citizenfx",
"redm",
"typescript",
"roleplay"
],
"author": "OpenCore Team",
"license": "MPL-2.0",
"packageManager": "pnpm@10.33.0",
"peerDependencies": {
"reflect-metadata": "^0.2.2",
"tsyringe": "^4.10.0",
"zod": "^4.3.5"
},
"dependencies": {
"uuid": "^13.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.8",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.1",
"dependency-cruiser": "^17.3.9",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"graphviz": "^0.0.9",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"tinybench": "^6.0.0",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"vitest": "^4.1.1"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,tsx,json,md}": [
"biome check --write --no-errors-on-unmatched"
]
}
}