UNPKG

2.84 kBJSONView Raw
1{
2 "name": "@firebase/functions",
3 "version": "0.8.8",
4 "description": "",
5 "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6 "main": "dist/index.node.cjs.js",
7 "browser": "dist/index.esm2017.js",
8 "module": "dist/index.esm2017.js",
9 "esm5": "dist/index.esm.js",
10 "exports": {
11 ".": {
12 "types": "./dist/functions-public.d.ts",
13 "node": {
14 "import": "./dist/esm-node/index.node.esm.js",
15 "require": "./dist/index.node.cjs.js"
16 },
17 "esm5": "./dist/index.esm.js",
18 "default": "./dist/index.esm2017.js"
19 },
20 "./package.json": "./package.json"
21 },
22 "files": [
23 "dist"
24 ],
25 "scripts": {
26 "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
27 "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
28 "build": "rollup -c && yarn api-report",
29 "build:deps": "lerna run --scope @firebase/functions --include-dependencies build",
30 "build:release": "rollup -c rollup.config.release.js && yarn api-report",
31 "dev": "rollup -c -w",
32 "test": "run-p lint test:all",
33 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
34 "test:all": "run-p test:browser test:node",
35 "test:browser": "karma start --single-run",
36 "test:browser:debug": "karma start --browsers=Chrome --auto-watch",
37 "test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
38 "test:emulator": "env FIREBASE_FUNCTIONS_EMULATOR_ORIGIN=http://localhost:5005 run-p test:node",
39 "api-report": "api-extractor run --local --verbose",
40 "doc": "api-documenter markdown --input temp --output docs",
41 "build:doc": "yarn build && yarn doc",
42 "typings:public": "node ../../scripts/build/use_typings.js ./dist/functions-public.d.ts"
43 },
44 "license": "Apache-2.0",
45 "peerDependencies": {
46 "@firebase/app": "0.x"
47 },
48 "devDependencies": {
49 "@firebase/app": "0.8.3",
50 "rollup": "2.79.1",
51 "@rollup/plugin-json": "4.1.0",
52 "rollup-plugin-typescript2": "0.31.2",
53 "typescript": "4.2.2"
54 },
55 "repository": {
56 "directory": "packages/functions",
57 "type": "git",
58 "url": "https://github.com/firebase/firebase-js-sdk.git"
59 },
60 "bugs": {
61 "url": "https://github.com/firebase/firebase-js-sdk/issues"
62 },
63 "typings": "./dist/functions-public.d.ts",
64 "dependencies": {
65 "@firebase/component": "0.5.21",
66 "@firebase/messaging-interop-types": "0.1.1",
67 "@firebase/auth-interop-types": "0.1.7",
68 "@firebase/app-check-interop-types": "0.1.1",
69 "@firebase/util": "1.7.3",
70 "node-fetch": "2.6.7",
71 "tslib": "^2.1.0"
72 },
73 "nyc": {
74 "extension": [
75 ".ts"
76 ],
77 "reportDir": "./coverage/node"
78 }
79}