create-custom-context
Version:
A React Context hook factory that enables using React hooks within context value functions. Perfect for game development, state management, and complex interactive applications with TypeScript support.
57 lines (56 loc) • 1.51 kB
JSON
{
"name": "create-custom-context",
"version": "0.0.3",
"description": "A React Context hook factory that enables using React hooks within context value functions. Perfect for game development, state management, and complex interactive applications with TypeScript support.",
"type": "module",
"sideEffects": false,
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"keywords": [
"react",
"context",
"custom",
"create"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"check": "tsc --noEmit && knip && biome check .",
"prepublishOnly": "pnpm check && pnpm test && pnpm build"
},
"homepage": "https://github.com/ChenHaoJie9527/create-custom-context",
"author": "ChenHaoJie9527",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "2.1.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.0.13",
"@types/react": "^19.1.8",
"@vitest/coverage-v8": "3.2.4",
"jsdom": "^26.0.0",
"knip": "^5.61.3",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"ultracite": "5.0.36",
"vitest": "^3.2.4"
},
"dependencies": {
"react": "^19.1.0"
}
}