123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- {
- "name": "@firebase/firestore",
- "version": "3.8.1",
- "engines": {
- "node": ">=10.10.0"
- },
- "description": "The Cloud Firestore component of the Firebase JS SDK.",
- "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
- "scripts": {
- "bundle": "rollup -c",
- "prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json; yarn api-report",
- "build": "run-p build:lite build:main",
- "build:release": "yarn build && yarn typings:public",
- "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
- "build:deps": "lerna run --scope @firebase/firestore --include-dependencies build",
- "build:main": "rollup -c rollup.config.js",
- "build:lite": "rollup -c rollup.config.lite.js",
- "build:debug": "rollup -c rollup.config.debug.js",
- "predev": "yarn prebuild",
- "dev": "rollup -c -w",
- "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
- "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
- "prettier": "prettier --write '*.js' '@(lite|src|test)/**/*.ts'",
- "test:lite": "node ./scripts/run-tests.js --emulator --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'",
- "test:lite:prod": "node ./scripts/run-tests.js --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'",
- "test:lite:browser": "karma start --single-run --lite",
- "test:lite:browser:debug": "karma start --browsers=Chrome --lite --auto-watch",
- "test": "run-s lint test:all",
- "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all:ci",
- "test:all:ci": "run-p test:browser test:lite:browser test:travis",
- "test:all": "run-p test:browser test:lite:browser test:travis test:minified",
- "test:browser": "karma start --single-run",
- "test:browser:emulator:debug": "karma start --browsers=Chrome --local",
- "test:browser:emulator": "karma start --single-run --local",
- "test:browser:unit": "karma start --single-run --unit",
- "test:browser:debug": "karma start --browsers=Chrome --auto-watch",
- "test:node": "node ./scripts/run-tests.js --main=test/register.ts --emulator 'test/{,!(browser|lite)/**/}*.test.ts'",
- "test:node:prod": "node ./scripts/run-tests.js --main=test/register.ts 'test/{,!(browser|lite)/**/}*.test.ts'",
- "test:node:persistence": "node ./scripts/run-tests.js --main=test/register.ts --persistence --emulator 'test/{,!(browser|lite)/**/}*.test.ts'",
- "test:node:persistence:prod": "node ./scripts/run-tests.js --main=test/register.ts --persistence 'test/{,!(browser|lite)/**/}*.test.ts'",
- "test:travis": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts",
- "test:minified": "(cd ../../integration/firestore ; yarn test)",
- "api-report:main": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package firestore --packageRoot . --typescriptDts ./dist/firestore/src/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/index.d.ts",
- "api-report:lite": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package firestore-lite --packageRoot . --typescriptDts ./dist/firestore/lite/index.d.ts --rollupDts ./dist/lite/private.d.ts --untrimmedRollupDts ./dist/lite/internal.d.ts --publicDts ./dist/lite/index.d.ts",
- "api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
- "api-report": "run-s api-report:main api-report:lite && yarn api-report:api-json",
- "doc": "api-documenter markdown --input temp --output docs",
- "typings:public": "node ../../scripts/build/use_typings.js ./dist/index.d.ts"
- },
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "node": {
- "require": "./dist/index.node.cjs.js",
- "import": "./dist/index.node.mjs"
- },
- "react-native": "./dist/index.rn.js",
- "esm5": "./dist/index.esm5.js",
- "default": "./dist/index.esm2017.js"
- },
- "./lite": {
- "types": "./dist/lite/index.d.ts",
- "node": {
- "require": "./dist/lite/index.node.cjs.js",
- "import": "./dist/lite/index.node.mjs"
- },
- "react-native": "./dist/lite/index.rn.esm2017.js",
- "esm5": "./dist/lite/index.browser.esm5.js",
- "default": "./dist/lite/index.browser.esm2017.js"
- },
- "./package.json": "./package.json"
- },
- "main": "dist/index.node.cjs.js",
- "main-esm": "dist/index.node.mjs",
- "react-native": "dist/index.rn.js",
- "browser": "dist/index.esm2017.js",
- "module": "dist/index.esm2017.js",
- "esm5": "dist/index.esm5.js",
- "license": "Apache-2.0",
- "files": [
- "dist",
- "lite/package.json"
- ],
- "dependencies": {
- "@firebase/component": "0.6.1",
- "@firebase/logger": "0.4.0",
- "@firebase/util": "1.9.0",
- "@firebase/webchannel-wrapper": "0.9.0",
- "@grpc/grpc-js": "~1.7.0",
- "@grpc/proto-loader": "^0.6.13",
- "node-fetch": "2.6.7",
- "tslib": "^2.1.0"
- },
- "peerDependencies": {
- "@firebase/app": "0.x"
- },
- "devDependencies": {
- "@firebase/app": "0.9.1",
- "@firebase/app-compat": "0.2.1",
- "@firebase/auth": "0.21.1",
- "@rollup/plugin-alias": "3.1.9",
- "@rollup/plugin-json": "4.1.0",
- "@types/eslint": "7.29.0",
- "@types/json-stable-stringify": "1.0.34",
- "chai-exclude": "2.1.0",
- "json-stable-stringify": "1.0.2",
- "protobufjs": "6.11.3",
- "rollup": "2.79.1",
- "rollup-plugin-copy": "3.4.0",
- "rollup-plugin-copy-assets": "2.0.3",
- "rollup-plugin-replace": "2.2.0",
- "rollup-plugin-sourcemaps": "0.6.3",
- "rollup-plugin-terser": "7.0.2",
- "rollup-plugin-typescript2": "0.31.2",
- "ts-node": "10.9.1",
- "typescript": "4.7.4"
- },
- "repository": {
- "directory": "packages/firestore",
- "type": "git",
- "url": "https://github.com/firebase/firebase-js-sdk.git"
- },
- "bugs": {
- "url": "https://github.com/firebase/firebase-js-sdk/issues"
- },
- "typings": "./dist/index.d.ts",
- "nyc": {
- "extension": [
- ".ts"
- ],
- "reportDir": "./coverage/node"
- }
- }
|