UNPKG

firestore-dataloader

Version:
73 lines (72 loc) 1.96 kB
{ "name": "firestore-dataloader", "version": "0.2.6", "description": "GraphQL DataLoader for Cloud Firestore.", "main": "lib/index.js", "types": "lib/index.d.ts", "author": "shoNagai <strawberry4062@gmail.com>", "license": "MIT", "homepage": "https://github.com/shoNagai/firestoreDataLoader#readme", "repository": { "type": "git", "url": "https://github.com/shoNagai/firestoreDataLoader" }, "bugs": { "url": "https://github.com/shoNagai/firestoreDataLoader/issues" }, "keywords": [ "typescript", "dataloader", "apollo-datasource", "firestore" ], "scripts": { "build": "tsc", "format": "prettier . -w", "lint": "eslint src/**/*.ts", "lint:fix": "yarn lint --fix", "test": "FIRESTORE_EMULATOR_HOST='localhost:8080' NODE_ENV=test jest --config ./jest.config.ts", "test:ci": "firebase emulators:exec --project $PROJECT_ID 'yarn test'", "emulators:start": "yarn build && firebase emulators:start" }, "dependencies": { "apollo-datasource": "0.9.0", "dataloader": "2.0.0", "firebase-admin": "9.9.0" }, "devDependencies": { "@commitlint/cli": "12.1.4", "@commitlint/config-conventional": "12.1.4", "@firebase/rules-unit-testing": "1.3.5", "@types/jest": "26.0.23", "@typescript-eslint/eslint-plugin": "4.26.0", "@typescript-eslint/parser": "4.26.0", "apollo-server-testing": "2.25.0", "eslint": "7.28.0", "eslint-config-prettier": "7.2.0", "eslint-plugin-prettier": "3.4.0", "husky": "6.0.0", "jest": "27.0.4", "lint-staged": "10.5.4", "prettier": "2.3.1", "ts-jest": "27.0.2", "ts-node": "10.0.0", "typescript": "4.3.2" }, "prettier": { "semi": true, "printWidth": 120, "trailingComma": "es5" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "prettier ./src -c" } }, "lint-staged": { "**/*.ts": [ "eslint --fix" ] } }