@gmana/react-hooks
Version:
96 lines (95 loc) • 2.54 kB
JSON
{
"name": "@gmana/react-hooks",
"version": "0.0.5",
"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": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"lint": "eslint \"src/**/*.{ts,tsx}\" --max-warnings=0",
"prepublishOnly": "bun run build:all && bun run test",
"test": "vitest run",
"test:watch": "vitest"
},
"prettier": {
"endOfLine": "lf",
"printWidth": 120,
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.3.0",
"jsdom": "^26.1.0",
"prettier": "^3.6.2",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"rolldown": "^1.0.0-beta.25",
"rolldown-plugin-dts": "^0.13.13",
"typescript-eslint": "^8.36.0",
"vitest": "^3.2.4"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"engines": {
"bun": ">=1.0.0",
"node": ">=18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}