@firebase/functions

v0.4.34
This is the Firebase Functions component of the Firebase JS SDK.

dev

rollup -c -w

lint

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

test

yarn type-check && run-p lint test:browser test:node

build

rollup -c

prepare

yarn build

lint:fix

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

test:node

TS_NODE_COMPILER_OPTIONS='{"module":"commonjs"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file index.node.ts --opts ../../config/mocha.node.opts

type-check

tsc -p . --noEmit

test:browser

karma start --single-run

test:emulator

env FIREBASE_FUNCTIONS_EMULATOR_ORIGIN=http://localhost:5005 run-p test:node

test:browser:debug

karma start --browsers=Chrome --auto-watch
npm i @firebase/[email protected]

Metadata

Downloads