UNPKG

jest-firestore

Version:

Run your tests using Jest & Firestore Emulator

88 lines (87 loc) 2.46 kB
{ "name": "jest-firestore", "version": "0.2.0", "description": "Run your tests using Jest & Firestore Emulator", "keywords": [ "jest", "jest environment", "jest preset", "firestore", "firebase", "firestore-emulator" ], "repository": "thekip/jest-firestore", "license": "MIT", "author": { "name": "Timofei Iatsenko", "email": "timiatsenko@gmail.com" }, "files": [ "jest-preset.js", "lib/" ], "scripts": { "build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'", "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib", "lint": "eslint . --ext .js,.ts,.json --fix", "lint:ci": "eslint . --ext .js,.ts,.json", "prettier:check": "prettier --check --ignore-unknown '**/*'", "prepack": "yarn build", "test": "jest test/", "test:separate-instances": "DEBUG='jest-firestore:*' JEST_FIRESTORE_CONFIG_FILE=\"jest-firestore-config-separate-instances.js\" jest test-separate-instances/", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "prepare": "husky install" }, "lint-staged": { "**/*": "prettier --write --ignore-unknown", "*.{ts,js,json}": [ "eslint --fix" ] }, "babel": { "extends": "@shelf/babel-config/backend" }, "jest": { "preset": "./jest-dev-preset.js", "testTimeout": 15000 }, "dependencies": { "debug": "4.3.4" }, "devDependencies": { "@babel/cli": "7.23.0", "@babel/core": "7.23.2", "@release-it/conventional-changelog": "^8.0.1", "@shelf/babel-config": "1.2.0", "@shelf/eslint-config": "2.27.1", "@shelf/tsconfig": "0.1.0", "@types/eslint": "^8", "@types/jest": "29.5.11", "@types/node": "16", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "eslint": "^8.56.0", "firebase-admin": "^12.0.0", "firebase-tools": "12.9.1", "husky": "8.0.3", "jest": "29.7.0", "jest-environment-node": "^29.7.0", "lint-staged": "15.2.0", "prettier": "2.8.8", "release-it": "^17.0.1", "ts-node": "^10.9.2", "typescript": "5.1.6" }, "peerDependencies": { "firebase-tools": "12.x || 13.x", "jest-environment-node": "27.x.x || 28.x || 29.x" }, "engines": { "node": ">=16" }, "publishConfig": { "access": "public" }, "packageManager": "yarn@4.0.2" }