{
  "name": "@sentrei/functions",
  "version": "4.119.2",
  "homepage": "https://sentrei.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/sentrei/sentrei.git",
    "directory": "packages/functions"
  },
  "license": "MIT",
  "author": "Shun Kakinoki",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.js",
  "files": [
    "dist"
  ],
  "scripts": {
    "alpha": "yarn run swap:alpha && firebase use alpha && yarn run env:set && yarn run deploy:rules && yarn run deploy:functions",
    "alpha:local": "yarn run swap:alpha && firebase use alpha",
    "beta": "yarn run swap:beta && firebase use beta && yarn run env:set && yarn run deploy:rules && yarn run deploy:functions",
    "beta:local": "yarn run swap:beta && firebase use beta",
    "clean": "yarn run clean:dist && yarn run clean:tsbuildinfo",
    "clean:dist": "rimraf dist",
    "clean:tsbuildinfo": "rimraf tsconfig*tsbuildinfo",
    "config": "yarn run env:get:local && firebase functions:shell",
    "coverage:rules": "curl http://localhost:8080/emulator/v1/projects/sentrei:ruleCoverage.html > coverage/ruleCoverage.html",
    "deploy:functions": "firebase deploy -f --only functions",
    "deploy:rules": "yarn run deploy:rules:firestore && yarn run deploy:rules:storage",
    "deploy:rules:firestore": "firebase deploy --only firestore",
    "deploy:rules:storage": "firebase deploy --only storage",
    "env:get": "firebase functions:config:get > .runtimeconfig.json",
    "env:set": "test -f env.json && firebase functions:config:unset env && firebase functions:config:set env=\"$(cat env.json)\"",
    "firebase:alpha": "yarn run alpha:local && yarn run env:get && yarn run start",
    "firebase:beta": "yarn run beta:local && yarn run env:get && yarn run start",
    "firebase:master": "yarn run master:local && yarn run env:get && yarn run start",
    "firestore:export": "firebase emulators:export --force ./data --only firestore",
    "indexes:get": "firebase firestore:indexes > firestore/firestore.indexes.json",
    "log": "firebase functions:log",
    "master": "yarn run swap:master && firebase use master && yarn run env:set && yarn run deploy:rules && yarn run deploy:functions",
    "master:local": "yarn run swap:master && firebase use master",
    "pack": "if [ -d ../common ]; then npm pack ../common; fi",
    "setup": "firebase setup:emulators:firestore",
    "shell": "firebase functions:shell",
    "staging:alpha": "yarn run swap:alpha && firebase use alpha && yarn run test",
    "staging:beta": "yarn run swap:beta && firebase use beta && yarn run test",
    "staging:master": "yarn run swap:master && firebase use master && yarn run test",
    "start": "firebase emulators:start --import ./data --only firestore,functions,pubsub --inspect-functions",
    "swap:alpha": "cp alpha.firebase.json firebase.json",
    "swap:alpha:env": "cp alpha.env.json env.json",
    "swap:beta": "cp beta.firebase.json firebase.json",
    "swap:beta:env": "cp beta.env.json env.json",
    "swap:master": "cp master.firebase.json firebase.json",
    "swap:master:env": "cp master.env.json env.json",
    "test": "firebase emulators:exec --only firestore 'jest --silent && yarn run coverage:rules'",
    "test:watch": "firebase emulators:exec --only firestore 'jest --watch && yarn run coverage:rules'",
    "tsc": "tsc --p tsconfig.build.json",
    "tscpaths": "tscpaths -p tsconfig.build.json -s ./src -o ./dist",
    "typescript": "yarn run clean && yarn run tsc && yarn run tscpaths",
    "watch": "yarn run tsc -w --preserveWatchOutput"
  },
  "dependencies": {
    "@firebase/testing": "^0.20.5",
    "@sentrei/common": "*",
    "@slack/webhook": "^5.0.3",
    "@types/lodash": "^4.14.157",
    "firebase-admin": "^8.12.1",
    "firebase-functions": "^3.6.2",
    "firebase-functions-test": "^0.2.1",
    "firebase-tools": "^8.4.2",
    "jest": "^26.1.0",
    "jest-when": "^2.7.2",
    "lodash": "^4.17.15",
    "tscpaths": "^0.0.9"
  },
  "devDependencies": {
    "rimraf": "^3.0.2",
    "ts-jest": "^26.1.1"
  },
  "engines": {
    "node": "10"
  },
  "publishConfig": {
    "access": "public"
  },
  "gitHead": "5915ac673cb6ddfe6cd4b6b93a8f71f6337aa24e"
}
