@firebase/firestore

v4.7.3
The Cloud Firestore component of the Firebase JS SDK.

dev

rollup -c -w

doc

api-documenter markdown --input temp --output docs

lint

eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'

test

run-s --npm-path npm lint test:all

build

run-p --npm-path npm build:lite build:main

bundle

rollup -c

predev

yarn prebuild

test:ci

node ../../scripts/run_tests_in_ci.js -s test:all:ci

lint:fix

eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'

prebuild

tsc --emitDeclarationOnly --declaration -p tsconfig.json; yarn api-report

prettier

prettier --write '*.js' '@(lite|src|test)/**/*.ts' 'test/unit/remote/bloom_filter_golden_test_data/*.json'

test:all

run-p --npm-path npm test:browser test:lite:browser test:travis test:minified test:browser:prod:nameddb test:lite:browser:nameddb

test:lite

ts-node ./scripts/run-tests.ts --emulator --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'

test:node

ts-node ./scripts/run-tests.ts --main=test/register.ts --emulator 'test/{,!(browser|lite)/**/}*.test.ts'

api-report

run-s --npm-path npm api-report:main api-report:lite && yarn api-report:api-json

build:deps

lerna run --scope @firebase/firestore --include-dependencies build

build:lite

rollup -c rollup.config.lite.js

build:main

rollup -c rollup.config.js

build:debug

rollup -c rollup.config.debug.js

test:all:ci

run-s --npm-path npm test:browser test:travis test:lite:browser test:browser:prod:nameddb test:lite:browser:nameddb

test:travis

ts-node --compiler-options='{"module":"commonjs"}' ../../scripts/emulator-testing/firestore-test-runner.ts

test:browser

karma start

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 %'

test:minified

(cd ../../integration/firestore ; yarn test)

test:lite:prod

ts-node ./scripts/run-tests.ts --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'

test:node:prod

ts-node ./scripts/run-tests.ts --main=test/register.ts 'test/{,!(browser|lite)/**/}*.test.ts'

typings:public

node ../../scripts/build/use_typings.js ./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: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

test:browser:prod

karma start --targetBackend=prod

test:browser:unit

karma start --unit

test:lite:browser

karma start --lite

test:browser:debug

karma start --browsers=Chrome --auto-watch

trusted-type-check

tsec -p tsconfig.json --noEmit

api-report:api-json

rm -rf temp && api-extractor run --local --verbose

test:browser:nightly

karma start --targetBackend=nightly

test:browser:emulator

karma start --targetBackend=emulator

test:node:persistence

ts-node ./scripts/run-tests.ts --main=test/register.ts --persistence --emulator 'test/{,!(browser|lite)/**/}*.test.ts'

test:lite:prod:nameddb

ts-node ./scripts/run-tests.ts --platform node_lite --databaseId=test-db --main=lite/index.ts 'test/lite/**/*.test.ts'

test:node:prod:nameddb

ts-node ./scripts/run-tests.ts --main=test/register.ts --databaseId=test-db 'test/{,!(browser|lite)/**/}*.test.ts'

test:lite:browser:debug

karma start --browsers=Chrome --lite --auto-watch

test:browser:prod:nameddb

karma start --targetBackend=prod --databaseId=test-db

test:lite:browser:nameddb

karma start --lite --databaseId=test-db

test:node:persistence:prod

ts-node ./scripts/run-tests.ts --main=test/register.ts --persistence 'test/{,!(browser|lite)/**/}*.test.ts'

test:browser:emulator:debug

karma start --browsers=Chrome --targetBackend=emulator
npm i @firebase/[email protected]

Metadata

Downloads