|
5 | 5 | "private": true,
|
6 | 6 | "author": "Firebase <[email protected]> (https://firebase.google.com/)",
|
7 | 7 | "main": "dist/index.node.cjs.js",
|
8 |
| - "browser": "dist/index.esm.js", |
9 |
| - "module": "dist/index.esm.js", |
| 8 | + "browser": "dist/index.esm5.js", |
| 9 | + "module": "dist/index.esm5.js", |
10 | 10 | "esm2017": "dist/index.esm2017.js",
|
11 | 11 | "files": ["dist"],
|
12 | 12 | "license": "Apache-2.0",
|
13 | 13 | "peerDependencies": {
|
| 14 | + "@firebase/app-compat": "0.x", |
14 | 15 | "@firebase/app-exp": "0.x",
|
15 | 16 | "@firebase/app-types-exp": "0.x"
|
16 | 17 | },
|
17 | 18 | "devDependencies": {
|
| 19 | + "@firebase/app-compat": "0.0.800", |
18 | 20 | "@firebase/app-exp": "0.0.800",
|
19 | 21 | "rollup": "2.26.7",
|
| 22 | + "rollup-plugin-json": "4.0.0", |
20 | 23 | "rollup-plugin-typescript2": "0.27.2",
|
21 | 24 | "typescript": "4.0.2"
|
22 | 25 | },
|
|
28 | 31 | "bugs": {
|
29 | 32 | "url": "https://github.com/firebase/firebase-js-sdk/issues"
|
30 | 33 | },
|
31 |
| - "typings": "dist/functions-exp-public.d.ts", |
| 34 | + "scripts": { |
| 35 | + "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", |
| 36 | + "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", |
| 37 | + "build": "rollup -c", |
| 38 | + "build:deps": "lerna run --scope @firebase/functions-compat --include-dependencies build", |
| 39 | + "build:release": "rollup -c rollup.config.release.js", |
| 40 | + "dev": "rollup -c -w", |
| 41 | + "test": "run-p lint test:all", |
| 42 | + "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all", |
| 43 | + "test:all": "run-p test:browser test:node", |
| 44 | + "test:browser": "karma start --single-run", |
| 45 | + "test:browser:debug": "karma start --browsers=Chrome --auto-watch", |
| 46 | + "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", |
| 47 | + "test:emulator": "env FIREBASE_FUNCTIONS_EMULATOR_ORIGIN=http://localhost:5005 run-p test:node", |
| 48 | + "prepare": "yarn build:release" |
| 49 | + }, |
| 50 | + "typings": "dist/functions-compat-public.d.ts", |
32 | 51 | "dependencies": {
|
33 | 52 | "@firebase/component": "0.1.18",
|
| 53 | + "@firebase/functions-exp": "0.0.800", |
34 | 54 | "@firebase/functions-types-exp": "0.0.800",
|
35 | 55 | "@firebase/messaging-types": "0.5.0",
|
36 | 56 | "@firebase/util": "0.3.1",
|
|
0 commit comments