|
8 | 8 | "author": "Firebase <[email protected]> (https://firebase.google.com/)",
|
9 | 9 | "scripts": {
|
10 | 10 | "bundle": "rollup -c",
|
11 |
| - "build": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.browser.memory.js' 'bundle rollup.config.node.js' 'bundle rollup.config.node.memory.js' 'bundle rollup.config.rn.js' 'bundle rollup.config.rn.memory.js' build:lite build:exp", |
| 11 | + "build": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.node.js' 'bundle rollup.config.rn.js' build:lite build:exp", |
12 | 12 | "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
|
13 |
| - "build:release": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.browser.memory.js' 'bundle rollup.config.node.js' 'bundle rollup.config.node.memory.js' 'bundle rollup.config.rn.js' 'bundle rollup.config.rn.memory.js'", |
| 13 | + "build:release": "run-p 'bundle rollup.config.browser.js' 'bundle rollup.config.node.js' 'bundle rollup.config.rn.js'", |
14 | 14 | "build:deps": "lerna run --scope @firebase/firestore --include-dependencies build",
|
15 | 15 | "build:console": "node tools/console.build.js",
|
16 | 16 | "build:exp": "rollup -c rollup.config.exp.js",
|
|
52 | 52 | "predoc": "node ../../scripts/exp/remove-exp.js temp",
|
53 | 53 | "doc": "api-documenter markdown --input temp --output docs"
|
54 | 54 | },
|
55 |
| - "main": "dist/index.node.cjs.js", |
56 |
| - "main-esm2017": "dist/index.node.esm2017.js", |
57 |
| - "react-native": "dist/index.rn.esm2017.js", |
58 |
| - "browser": "dist/index.esm.js", |
59 |
| - "module": "dist/index.esm.js", |
60 |
| - "esm2017": "dist/index.esm2017.js", |
61 |
| - "bundle": "dist/index.bundle.js", |
62 |
| - "bundleModule": "dist/index.bundle.module.js", |
| 55 | + "main": "dist/node-cjs/index.js", |
| 56 | + "main-esm2017": "dist/node-esm2017/index.js", |
| 57 | + "react-native": "dist/rn/index.js", |
| 58 | + "browser": "dist/esm5/index.js", |
| 59 | + "module": "dist/esm5/index.js", |
| 60 | + "esm2017": "dist/esm2017/index.js", |
63 | 61 | "license": "Apache-2.0",
|
64 | 62 | "files": [
|
65 | 63 | "dist",
|
66 |
| - "memory/package.json" |
| 64 | + "memory/package.json", |
| 65 | + "bundle/package.json" |
67 | 66 | ],
|
68 | 67 | "dependencies": {
|
69 | 68 | "@firebase/component": "0.1.21",
|
|
87 | 86 | "json-stable-stringify": "1.0.1",
|
88 | 87 | "protobufjs": "6.10.1",
|
89 | 88 | "rollup": "2.33.1",
|
90 |
| - "rollup-plugin-copy-assets": "1.1.0", |
| 89 | + "rollup-plugin-copy-assets": "2.0.3", |
91 | 90 | "@rollup/plugin-json": "4.1.0",
|
92 | 91 | "@rollup/plugin-node-resolve": "9.0.0",
|
93 | 92 | "rollup-plugin-replace": "2.2.0",
|
|
0 commit comments