-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(handlers): fix bug in useNuiEvents which caused all handlers to b…
…e removed
- Loading branch information
1 parent
be195af
commit 69c14a5
Showing
14 changed files
with
2,867 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"semi": true, | ||
"bracketSpacing": true, | ||
"trailingComma": "all", | ||
"useTabs": false, | ||
"tabWidth": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "react-fivem-hooks", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Essential React hooks for FiveM NUI development written in Typescript", | ||
"main": "dist/index.js", | ||
"repository": "[email protected]:antonstjernquist/react-fivem-hooks.git", | ||
|
@@ -11,40 +11,28 @@ | |
], | ||
"types": "dist/index.d.ts", | ||
"dependencies": { | ||
"esbuild": "^0.19.12", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"typescript": "^4.3.2" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "jest" | ||
"test": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "^5.12.0", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@testing-library/jest-dom": "^5.17.0", | ||
"@testing-library/react": "^11.2.7", | ||
"@types/jest": "^26.0.23", | ||
"@types/react": "^17.0.9", | ||
"@types/react-dom": "^17.0.6", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
"global-jsdom": "^8.1.0", | ||
"jest": "^27.0.3", | ||
"jsdom": "^16.6.0", | ||
"ts-jest": "^27.0.2" | ||
}, | ||
"jest": { | ||
"verbose": true, | ||
"roots": [ | ||
"<rootDir>" | ||
], | ||
"testEnvironment": "jsdom", | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/jest-setup.js" | ||
], | ||
"testMatch": [ | ||
"**/__tests__/**/*.+(ts|tsx|js)", | ||
"**/?(*.)+(spec|test).+(ts|tsx|js)" | ||
], | ||
"transform": { | ||
"^.+\\.(ts|tsx)$": "ts-jest" | ||
} | ||
"jsdom": "^16.7.0", | ||
"rollup": "^4.9.6", | ||
"rollup-plugin-dts": "^6.1.0", | ||
"rollup-plugin-esbuild": "^6.1.0", | ||
"vite": "^5.4.7", | ||
"vitest": "^2.1.1" | ||
} | ||
} |
Oops, something went wrong.