UNPKG

react-solid-flow

Version:

[SolidJS](https://www.solidjs.com/docs/latest/api#control-flow)-inspired basic control-flow components and everyday async state hook library for [React](https://reactjs.org/)

87 lines 1.92 kB
{ "name": "react-solid-flow", "version": "1.0.0", "license": "MIT", "scripts": { "build": "tsup --dts", "test": "vitest --run --coverage", "lint": "eslint .", "prepack": "npm run lint && npm run test && npm run build" }, "type": "module", "main": "./dist/lib.js", "types": "./dist/lib.d.ts", "exports": { ".": { "import": { "types": "./dist/lib.d.ts", "default": "./dist/lib.js" }, "require": { "types": "./dist/lib.d.cts", "require": "./dist/lib.cjs" } } }, "files": [ "dist", "README.md", "CHANGELOG.md", "useResource-examples.md" ], "repository": { "type": "git", "url": "https://github.com/religiosa1/react-solid-flow" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8" }, "devDependencies": { "@testing-library/jest-dom": "^6.2.1", "@testing-library/react": "^14.1.2", "@types/react": "^18.2.48", "@types/react-dom": "^18.2.18", "@types/testing-library__jest-dom": "^5.14.9", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "@vitejs/plugin-react": "^4.2.1", "@vitest/coverage-v8": "^1.2.1", "eslint": "^8.56.0", "eslint-config-google": "^0.14.0", "eslint-plugin-react": "^7.33.2", "jsdom": "^24.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "tsup": "^8.0.1", "typescript": "^5.3.3", "vitest": "^1.2.1" }, "keywords": [ "react-solid-flow", "react-control-flow", "control-flow", "for", "react-for", "forEach", "react-foreach", "ErrorBoundary", "portal", "async", "await", "fetch", "promise", "react", "reactjs", "solid", "solidjs", "hook", "hooks", "useAsync", "useFetch", "usePromise", "use-async", "use-fetch", "use-promise" ] }