|
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",
|
17 | 17 | "build:lite": "rollup -c rollup.config.lite.js",
|
18 | 18 | "build:exp:release": "yarn build:exp && yarn build:lite",
|
| 19 | + "build:browser": "rollup -c rollup.config.browser.js", |
19 | 20 | "predev": "yarn prebuild",
|
20 | 21 | "dev": "rollup -c -w",
|
21 | 22 | "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
45 | 46 | "predoc": "node ../../scripts/exp/remove-exp.js temp",
|
46 | 47 | "doc": "api-documenter markdown --input temp --output docs"
|
47 | 48 | },
|
48 |
| - "main": "dist/index.node.cjs.js", |
49 |
| - "main-esm2017": "dist/index.node.esm2017.js", |
50 |
| - "react-native": "dist/index.rn.esm2017.js", |
51 |
| - "browser": "dist/index.esm.js", |
52 |
| - "module": "dist/index.esm.js", |
53 |
| - "esm2017": "dist/index.esm2017.js", |
| 49 | + "main": "dist/node-cjs/index.js", |
| 50 | + "main-esm2017": "dist/node-esm2017/index.js", |
| 51 | + "react-native": "dist/rn/index.js", |
| 52 | + "browser": "dist/esm5/index.js", |
| 53 | + "module": "dist/esm5/index.js", |
| 54 | + "esm2017": "dist/esm2017/index.js", |
54 | 55 | "license": "Apache-2.0",
|
55 | 56 | "files": [
|
56 | 57 | "dist",
|
57 |
| - "memory/package.json" |
| 58 | + "memory/package.json", |
| 59 | + "bundle/package.json", |
| 60 | + "memory-bundle/package.json" |
58 | 61 | ],
|
59 | 62 | "dependencies": {
|
60 | 63 | "@firebase/component": "0.1.21",
|
|
80 | 83 | "json-stable-stringify": "1.0.1",
|
81 | 84 | "protobufjs": "6.10.2",
|
82 | 85 | "rollup": "2.33.2",
|
83 |
| - "rollup-plugin-copy-assets": "1.1.0", |
| 86 | + "rollup-plugin-copy": "3.3.0", |
| 87 | + "rollup-plugin-copy-assets": "2.0.3", |
84 | 88 | "rollup-plugin-replace": "2.2.0",
|
85 | 89 | "rollup-plugin-sourcemaps": "0.6.3",
|
86 | 90 | "rollup-plugin-terser": "7.0.2",
|
|
0 commit comments