UNPKG

firebase-tools-extra

Version:

Extra functionality for firebase-tools with support for emulators and auth through service account.

99 lines (98 loc) 2.79 kB
{ "name": "firebase-tools-extra", "version": "1.0.0", "description": "Extra functionality for firebase-tools with support for emulators and auth through service account.", "main": "lib/index.js", "module": "lib/index.js", "jsnext:main": "lib/index.js", "types": "./index.d.ts", "bin": { "firebase-extra": "./bin/firebase-tools-extra" }, "files": [ "bin", "cmds", "lib", "lib-esm", "index.d.ts" ], "scripts": { "clean": "rimraf lib lib-esm", "build": "yarn build:lib && yarn build:esm && yarn build:typefile", "build:typefile": "tsc --declaration --outFile index.d.ts --emitDeclarationOnly", "build:lib": "tsc", "build:esm": "tsc -m es6 --outDir lib-esm", "watch": "yarn build --watch", "watch:es": "yarn build:esm --watch", "lint": "eslint src/**/*.ts --ext .ts", "lint:fix": "yarn lint --fix", "prepare": "yarn clean && yarn build", "test:base": "mocha ./test/unit/**/*.spec.ts", "test:watch": "yarn test:base --watch", "emulators": "firebase emulators:start --only firestore,database", "test": "firebase emulators:exec --only firestore,database \"yarn test:base\"" }, "keywords": [ "firebase-tools", "firebase", "cli" ], "dependencies": { "chalk": "^3.0.0", "commander": "^5.0.0", "figures": "^3.2.0", "firebase-admin": "^8.10.0" }, "devDependencies": { "@firebase/testing": "^0.18.1", "@types/chai": "^4.2.11", "@types/expect": "^24.3.0", "@types/mocha": "^7.0.2", "@types/node": "^13.9.5", "@typescript-eslint/eslint-plugin": "^2.25.0", "@typescript-eslint/parser": "^2.25.0", "chai": "^4.2.0", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.1.0", "eslint-config-prettier": "^6.10.0", "eslint-plugin-chai-friendly": "^0.5.0", "eslint-plugin-import": "^2.20.0", "eslint-plugin-jsdoc": "^22.1.0", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-mocha": "^6.3.0", "eslint-plugin-prettier": "^3.1.2", "firebase-tools": "^7.16.1", "husky": "^4.2.3", "lint-staged": "^10.0.8", "mocha": "^7.1.1", "prettier": "^2.0.1", "rimraf": "^3.0.2", "ts-node": "^8.8.1", "typescript": "^3.8.3" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/prescottprue/firebase-tools-extra.git" }, "bugs": { "url": "https://github.com/prescottprue/firebase-tools-extra/issues" }, "author": { "name": "Prescott Prue", "url": "https://github.com/prescottprue" }, "husky": { "hooks": { "pre-commit": "yarn build:typefile && git add . && lint-staged" } }, "lint-staged": { "*.{json,md}": [ "prettier --write" ], "*.{js,ts}": [ "eslint --fix" ] } }