reactfire
Version:
Firebase library for React
114 lines (113 loc) • 3.6 kB
JSON
{
"version": "4.2.3",
"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",
"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": "^8.3.4",
"@size-limit/preset-small-lib": "^7.0.8",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"@vitejs/plugin-react": "^2.0.0",
"@vitest/ui": "^0.20.3",
"cross-fetch": "^3.1.5",
"eslint": "^8.20.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase": "^9.9.0",
"firebase-tools": "^11.3.0",
"globalthis": "^1.0.3",
"husky": "^8.0.1",
"jest-environment-jsdom": "^28.1.3",
"jsdom": "^20.0.0",
"markdown-toc": "^1.2.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup-plugin-visualizer": "^5.7.1",
"size-limit": "^7.0.8",
"typedoc": "^0.23.8",
"typedoc-plugin-markdown": "^3.13.3",
"typescript": "^4.7.4",
"vite": "^3.0.2",
"vitest": "^0.18.1"
},
"dependencies": {
"rxfire": "^6.0.3",
"rxjs": "^6.6.3 || ^7.0.1"
}
}