mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
feat(package): add citizen typings
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": ".",
|
||||
"types": ["@citizenfx/client"]
|
||||
},
|
||||
"include": ["./**/*"],
|
||||
"exclude": ["**/node_modules"]
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
},
|
||||
"license": "LGPL-3.0",
|
||||
"dependencies": {
|
||||
"@citizenfx/client": "2.0.5885-1",
|
||||
"@citizenfx/server": "2.0.5885-1",
|
||||
"@fortawesome/fontawesome-common-types": "6.1.1",
|
||||
"@types/node": "16.9.1",
|
||||
"@types/react": "^18.0.20",
|
||||
|
||||
12
package/pnpm-lock.yaml
generated
12
package/pnpm-lock.yaml
generated
@@ -1,6 +1,8 @@
|
||||
lockfileVersion: 5.4
|
||||
|
||||
specifiers:
|
||||
'@citizenfx/client': 2.0.5885-1
|
||||
'@citizenfx/server': 2.0.5885-1
|
||||
'@fortawesome/fontawesome-common-types': 6.1.1
|
||||
'@types/node': 16.9.1
|
||||
'@types/react': ^18.0.20
|
||||
@@ -8,6 +10,8 @@ specifiers:
|
||||
typescript: ^4.8.3
|
||||
|
||||
dependencies:
|
||||
'@citizenfx/client': 2.0.5885-1
|
||||
'@citizenfx/server': 2.0.5885-1
|
||||
'@fortawesome/fontawesome-common-types': 6.1.1
|
||||
'@types/node': 16.9.1
|
||||
'@types/react': 18.0.20
|
||||
@@ -18,6 +22,14 @@ devDependencies:
|
||||
|
||||
packages:
|
||||
|
||||
/@citizenfx/client/2.0.5885-1:
|
||||
resolution: {integrity: sha512-Ba5YYfxhZ82PcOY+2rjqDElTzPt7NrN6/o2U+wYPKK2VU/wRdCsMonpMsr7dYob2ToN5Qe96w5VNI3m5OrouJQ==}
|
||||
dev: false
|
||||
|
||||
/@citizenfx/server/2.0.5885-1:
|
||||
resolution: {integrity: sha512-q8KRecfjJ3RjCfBT/3CSHNTr2efUs9uq8pIoPF4TGkn5X7jgTBprrp3VMayaee3Xekay3RTufpzsOaeHUntQeA==}
|
||||
dev: false
|
||||
|
||||
/@fortawesome/fontawesome-common-types/6.1.1:
|
||||
resolution: {integrity: sha512-wVn5WJPirFTnzN6tR95abCx+ocH+3IFLXAgyavnf9hUmN0CfWoDjPT/BAWsUVwSlYYVBeCLJxaqi7ZGe4uSjBA==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": ".",
|
||||
"types": ["@citizenfx/server"]
|
||||
},
|
||||
"include": ["./**/*"],
|
||||
"exclude": ["**/node_modules"]
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": ".",
|
||||
"types": ["@citizenfx/client", "@citizenfx/server"]
|
||||
},
|
||||
"include": ["./**/*"],
|
||||
"exclude": ["**/node_modules"]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"baseUrl": ".",
|
||||
"strict": true,
|
||||
"module": "CommonJS",
|
||||
"types": ["@types/node"],
|
||||
"types": ["@types/node", "@citizenfx/client", "@citizenfx/server"],
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"target": "ESNext",
|
||||
@@ -18,6 +18,6 @@
|
||||
"noImplicitAny": false,
|
||||
"noEmit": false
|
||||
},
|
||||
"include": ["client"],
|
||||
"include": ["client", "server", "shared"],
|
||||
"exclude": ["**/node_modules"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user