UNPKG

@gmana/react-hooks

Version:
81 lines (80 loc) 2.08 kB
{ "name": "@gmana/react-hooks", "version": "0.0.10", "description": "React hooks", "keywords": [ "gmana", "react", "hooks" ], "homepage": "https://github.com/sun-sreng/npm-gmana-react-hooks#readme", "bugs": { "url": "https://github.com/sun-sreng/npm-gmana-react-hooks/issues" }, "repository": { "type": "git", "url": "git+https://github.com/sun-sreng/npm-gmana-react-hooks.git" }, "funding": { "type": "github", "url": "https://github.com/sponsors/sun-sreng" }, "license": "MIT", "author": "Sun Sreng", "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "rolldown -c rolldown.config.ts", "build:all": "bun run build", "check": "bun run lint && bun run format:check", "clean": "rm -rf dist node_modules bun.lockb package-lock.json", "dev": "rolldown -c rolldown.dev.config.ts -w", "format": "biome format --write src", "format:check": "biome format src", "lint": "biome lint src", "lint:fix": "biome lint --write src", "prepublishOnly": "bun run build:all && bun run test", "test": "bunx vitest run", "test:watch": "vitest" }, "devDependencies": { "@biomejs/biome": "^2.2.4", "@testing-library/jest-dom": "^6.8.0", "@testing-library/react": "^16.3.0", "@testing-library/react-hooks": "^8.0.1", "@types/bun": "^1.2.21", "@types/jsdom": "^21.1.7", "@vitejs/plugin-react": "^5.0.2", "jsdom": "^27.0.0", "react": "^19.1.1", "react-dom": "^19.1.1", "rimraf": "^6.0.1", "rolldown": "^1.0.0-beta.37", "rolldown-plugin-dts": "^0.16.5", "vitest": "^3.2.4" }, "peerDependencies": { "typescript": "^5.9.2" }, "engines": { "bun": ">=1.0.0", "node": ">=18" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }