UNPKG

reactfire

Version:
130 lines (129 loc) • 4.08 kB
{ "version": "4.3.0", "license": "MIT", "type": "module", "main": "dist/index.umd.cjs", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./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 build:types-cjs && npm run docs", "build:types-cjs": "node -e \"require('fs').copyFileSync('dist/index.d.ts','dist/index.d.cts')\"", "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": "oxlint src test vite.config.ts", "size": "size-limit", "analyze": "size-limit --why", "lint:package": "publint --strict", "lint:types": "attw", "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 || ^13.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", "sideEffects": false, "size-limit": [ { "path": "dist/index.js", "limit": "18 KB" }, { "path": "dist/index.umd.cjs", "limit": "16 KB" } ], "devDependencies": { "@arethetypeswrong/cli": "^0.18.5", "@rollup/plugin-typescript": "^12.3.0", "@size-limit/preset-small-lib": "^8.2.6", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^16.3.2", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@types/use-sync-external-store": "^0.0.3", "@vitejs/plugin-react": "^6.0.2", "@vitest/ui": "^4.1.9", "cross-fetch": "^3.1.6", "firebase": "^13.1.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", "oxlint": "^1.90.0", "oxlint-tsgolint": "^7.0.2005", "prettier": "^3.8.4", "publint": "^0.3.22", "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.3.0", "rxjs": "^6.6.3 || ^7.0.1", "use-sync-external-store": "^1.5.0" }, "allowScripts": { "@firebase/util@1.12.1": true, "esbuild@0.18.20": true, "protobufjs@7.6.4": true, "re2@1.25.0": true } }