@nixjs23n6/react-nest-providers
Version:
A lightweight, type-safe utility for composing multiple React providers into a single, nested tree. Simplify your provider setup with a clean, declarative API that supports optional props and seamless integration with TypeScript. Perfect for managing cont
73 lines • 2.38 kB
JSON
{
"name": "@nixjs23n6/react-nest-providers",
"version": "0.0.2",
"description": "A lightweight, type-safe utility for composing multiple React providers into a single, nested tree. Simplify your provider setup with a clean, declarative API that supports optional props and seamless integration with TypeScript. Perfect for managing context providers in large-scale React applications.",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"keywords": [
"nest-providers",
"providers",
"react-utility",
"provider-tree",
"react-provider",
"javascript",
"typescript",
"web"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nixjs/react-nest-providers.git"
},
"publishConfig": {
"access": "public"
},
"files": [
"lib",
"README.md"
],
"author": "nghinv",
"license": "MIT",
"sideEffects": false,
"peerDependencies": {
"react": "^17 || ^18 || ^19 || ^19.0.0-rc"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.90",
"@testing-library/react": "^16.2.0",
"@types/eslint": "^8.4.3",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/node": "^18.0.0",
"@types/prettier": "^2.6.3",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"is-ci": "^3.0.1",
"lerna": "^6.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"tslib": "^2.6.2",
"typescript": "^4.7.4"
},
"scripts": {
"clean": "rimraf lib/*",
"build:pre": "run-s clean",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:mini:cjs": "swc lib/cjs --out-dir lib",
"build:mini:esm": "swc lib/esm --out-dir lib",
"build:mini": "run-s build:mini:cjs build:mini:esm",
"build": "run-s build:pre build:cjs build:esm build:mini",
"lint": "eslint 'src/**/*.{ts,tsx,js,jsx}'",
"format:check": "prettier --check --loglevel error 'src/**/*.{ts,tsx,js,jsx}'",
"format:write": "prettier --write 'src/**/*.{ts,tsx,js,jsx}'"
}
}