UNPKG

fireodm

Version:

A basic and extensible ODM for the Firestore Admin SDK in Node.js with decorators, relationships, and validation.

78 lines (77 loc) 2.29 kB
{ "name": "fireodm", "version": "1.4.2", "description": "A basic and extensible ODM for the Firestore Admin SDK in Node.js with decorators, relationships, and validation.", "main": "dist/index.js", "module": "dist/esm/index.js", "types": "dist/index.d.ts", "files": [ "dist", "LICENSE", "README.md" ], "scripts": { "clean": "rimraf dist", "build:cjs": "tsc -p tsconfig.build.json --module CommonJS --outDir dist", "build:esm": "tsc -p tsconfig.build.json --module ESNext --outDir dist/esm", "build": "npm run clean && npm run build:cjs && npm run build:esm", "lint": "eslint \"src/**/*.ts\"", "format": "prettier --write \"src/**/*.ts\"", "prepublishOnly": "npm run build", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test": "firebase emulators:exec \"jest --detectOpenHandles --silent\" --only firestore" }, "repository": { "type": "git", "url": "git+https://github.com/Davileal/fireodm.git" }, "keywords": [ "firestore", "orm", "firebase", "admin", "nodejs", "typescript", "database", "odm", "google-cloud" ], "author": "Davi Leal <davi.leal737@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/Davileal/fireodm/issues" }, "homepage": "https://fireodm.netlify.app", "devDependencies": { "@firebase/rules-unit-testing": "^4.0.1", "@firebase/testing": "^0.20.11", "@types/jest": "^29.5.14", "@types/node": "^18.0.0 || ^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0 || ^7.0.0", "@typescript-eslint/parser": "^6.0.0 || ^7.0.0", "eslint": "^8.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "firebase-admin": "^13.0.0", "firebase-tools": "^14.2.1", "jest": "^29.7.0", "prettier": "^3.0.0", "reflect-metadata": "^0.2.1", "rimraf": "^5.0.0", "ts-jest": "^29.3.2", "ts-node": "^10.9.1", "typescript": "^5.0.0" }, "engines": { "node": ">=16.0.0" }, "dependencies": { "dotenv": "^16.5.0", "reflect-metadata": "^0.1.13 || ^0.2.0", "zod": "^3.22.4" }, "peerDependencies": { "firebase-admin": "^13.0.0" } }