UNPKG

@earthling/react-query-factory

Version:

Create API client for your React app with just one line of code, using React Query!

80 lines (79 loc) 2.28 kB
{ "name": "@earthling/react-query-factory", "access": "public", "version": "0.6.0", "description": "Create API client for your React app with just one line of code, using React Query!", "main": "dist/cjs/bundle.js", "module": "dist/esm/bundle.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rimraf dist && rollup -c", "dev": "rollup -c -w", "test": "jest", "lint": "eslint src", "prepublishOnly": "npm run test && npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/earthling-std/react-query-factory.git" }, "author": "Hai Le <haivle9@gmail.com>", "license": "MIT", "keywords": [ "tanstack", "react-query", "react query", "react", "api", "react-api", "react api layer", "server state management", "javascript", "typescript" ], "bugs": { "url": "https://github.com/earthling-std/react-query-factory/issues" }, "homepage": "https://github.com/earthling-std/react-query-factory", "peerDependencies": { "@tanstack/react-query": "*", "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.21.4", "@babel/preset-env": "^7.21.4", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.4", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^11.1.0", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.14", "@types/react": "^18.0.33", "@typescript-eslint/eslint-plugin": "8.29.1", "@typescript-eslint/parser": "8.29.1", "babel-jest": "^29.5.0", "eslint": "9.24.0", "eslint-plugin-react": "7.37.5", "gh-pages": "^5.0.0", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.5.0", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^4.4.1", "rollup": "^3.20.2", "rollup-plugin-dts": "^5.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "tslib": "^2.5.0", "typescript": "^5.8.3" } }