@wojtekmaj/react-hooks
Version:
A collection of React Hooks.
70 lines • 1.81 kB
JSON
{
"name": "@wojtekmaj/react-hooks",
"version": "2.0.1",
"description": "A collection of React Hooks.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./*"
},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true })\"",
"format": "biome format",
"lint": "biome lint",
"prepack": "yarn clean && yarn build",
"test": "yarn lint && yarn tsc && yarn format && yarn unit && yarn unit:node",
"tsc": "tsc",
"unit": "vitest --config vitest.config.ts",
"unit:node": "vitest --config vitest.config.node.ts"
},
"keywords": [
"react",
"hooks"
],
"author": {
"name": "Wojciech Maj",
"email": "kontakt@wojtekmaj.pl"
},
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "2.0.0",
"@testing-library/dom": "^10.0.0",
"@testing-library/react": "^16.0.0",
"@types/react": "*",
"@types/react-dom": "*",
"happy-dom": "^15.10.2",
"husky": "^9.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.5.2",
"vitest": "^3.2.3"
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wojtekmaj/react-hooks.git"
},
"funding": "https://github.com/wojtekmaj/react-hooks?sponsor=1",
"packageManager": "yarn@4.9.1"
}