UNPKG

firestore-jest-mock

Version:

Jest helper for mocking Google Cloud Firestore

71 lines (70 loc) 1.75 kB
{ "name": "firestore-jest-mock", "version": "0.26.0", "description": "Jest helper for mocking Google Cloud Firestore", "author": "", "license": "MIT", "keywords": [ "Jest", "Firestore" ], "main": "index.js", "types": "index.d.ts", "files": [ "mocks", "index.d.ts", "index.d.ts.map", "index.js", "index.js.map" ], "scripts": { "lint": "eslint . --ext .js,.ts", "cleanup": "rm -fr ./mocks ./index.d.ts ./index.d.ts.map ./index.js ./index.js.map", "prebuild": "npm run cleanup", "build": "tsc -P tsconfig.json", "prepublishOnly": "npm run build", "test": "jest", "test:watch": "npm run test -- --watch", "test:coverage": "npm run test -- --coverage" }, "lint-staged": { "*.{js,css,json,md}": [ "prettier --write" ], "*.js": [ "eslint --fix" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "repository": { "type": "git", "url": "https://github.com/sbatson5/firestore-jest-mock.git" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/preset-env": "^7.5.5", "@react-native-firebase/firestore": "^15.1.1", "@types/jest": "^26.0.20", "@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/parser": "^4.17.0", "babel-eslint": "^10.0.3", "babel-jest": "^26.6.3", "eslint": "^7.20.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-jest": "^24.1.5", "firebase": "^8.1.2", "firebase-admin": "^9.4.1", "husky": "^4.2.1", "jest": "^26.6.3", "jest-watch-typeahead": "^0.3.1", "lint-staged": "^10.0.2", "lodash": "^4.17.21", "prettier": "^3.1.1", "ts-jest": "^26.5.1", "typescript": "^4.9.5" } }