UNPKG

reactfire

Version:
121 lines (120 loc) 3.83 kB
{ "version": "4.2.6", "license": "MIT", "type": "module", "main": "dist/index.umd.cjs", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.umd.cjs" } }, "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=14" }, "scripts": { "start": "firebase emulators:exec --project=rxfire-525a3 \"vitest --ui\"", "build": "tsc && vite build && npm run docs", "test": "firebase emulators:exec --project=rxfire-525a3 \"vitest\"", "test:firestore": "firebase emulators:exec --only firestore --ui --project=rxfire-525a3 \"vitest firestore\"", "test:database": "firebase emulators:exec --only database --project=rxfire-525a3 \"vitest database\"", "test:auth": "firebase emulators:exec --only auth --project=rxfire-525a3 \"vitest auth\"", "test:functions": "firebase emulators:exec --only functions --project=rxfire-525a3 \"vitest functions\"", "test:storage": "firebase emulators:exec --only storage --project=rxfire-525a3 \"vitest storage\"", "test:useObservable": "vitest useObservable", "test:firebaseApp": "vitest firebaseApp", "format": "prettier src test vite.config.ts -w", "lint": "eslint src/* test/* vite.config.ts", "size": "size-limit", "analyze": "size-limit --why", "docs": "typedoc --options typedoc.json && markdown-toc -i docs/use.md", "docs:fork": "typedoc --options typedoc.json --gitRemote upstream && markdown-toc -i docs/use.md" }, "peerDependencies": { "firebase": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || next", "react": ">=16 || experimental" }, "husky": { "hooks": { "pre-commit": "npm run lint" } }, "prettier": { "singleQuote": true, "printWidth": 160 }, "name": "reactfire", "author": "jhuleatt", "description": "Firebase library for React", "repository": { "type": "git", "url": "git+https://github.com/FirebaseExtended/reactfire.git" }, "bugs": { "url": "https://github.com/Firebase/reactfire/issues" }, "homepage": "https://firebaseopensource.com/projects/firebaseextended/reactfire/", "module": "./dist/index.js", "size-limit": [ { "path": "dist/reactfire.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/reactfire.esm.js", "limit": "10 KB" } ], "devDependencies": { "@rollup/plugin-typescript": "^12.3.0", "@size-limit/preset-small-lib": "^8.2.6", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@types/use-sync-external-store": "^0.0.3", "@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/parser": "^5.60.1", "@vitejs/plugin-react": "^6.0.2", "@vitest/ui": "^4.1.9", "cross-fetch": "^3.1.6", "eslint": "^8.43.0", "eslint-plugin-no-only-tests": "^3.1.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "firebase": "^11.10.0", "firebase-tools": "^15.22.3", "globalthis": "^1.0.3", "husky": "^8.0.3", "jest-environment-jsdom": "^29.5.0", "jsdom": "^22.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.8.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-test-renderer": "^18.2.0", "rollup-plugin-visualizer": "^5.9.2", "size-limit": "^8.2.6", "typedoc": "^0.28.19", "typedoc-plugin-markdown": "^4.12.0", "typescript": "^6.0.3", "vite": "^8.0.16", "vitest": "^4.1.9" }, "dependencies": { "rxfire": "^6.1.0", "rxjs": "^6.6.3 || ^7.0.1", "use-sync-external-store": "^1.2.0" }, "allowScripts": { "@firebase/util@1.12.1": true, "esbuild@0.18.20": true, "protobufjs@7.6.4": true, "re2@1.25.0": true } }