|
7 | 7 | "description": "The Cloud Firestore component of the Firebase JS SDK.",
|
8 | 8 | "author": "Firebase <[email protected]> (https://firebase.google.com/)",
|
9 | 9 | "scripts": {
|
10 |
| - "preapi-report:exp": "tsc --emitDeclarationOnly --declaration -p tsconfig.json", |
11 | 10 | "api-report:exp": "(cd exp; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../scripts/prune-dts/prune-dts.ts --input dist/exp/private.d.ts --output dist/exp/index.d.ts",
|
12 |
| - "preapi-report:lite": "tsc --emitDeclarationOnly --declaration -p tsconfig.json", |
13 | 11 | "api-report:lite": "(cd lite; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../scripts/prune-dts/prune-dts.ts --input dist/lite/private.d.ts --output dist/lite/index.d.ts",
|
14 | 12 | "bundle": "rollup -c",
|
| 13 | + "prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json && run-p api-report:exp api-report:lite", |
15 | 14 | "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",
|
16 | 15 | "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
|
17 | 16 | "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'",
|
18 | 17 | "build:deps": "lerna run --scope @firebase/firestore --include-dependencies build",
|
19 | 18 | "build:console": "node tools/console.build.js",
|
20 |
| - "build:exp": "yarn api-report:exp && rollup -c rollup.config.exp.js ", |
21 |
| - "build:lite": "yarn api-report:lite && rollup -c rollup.config.lite.js", |
| 19 | + "build:exp": "rollup -c rollup.config.exp.js ", |
| 20 | + "build:lite": "rollup -c rollup.config.lite.js", |
22 | 21 | "predev": "yarn prebuild",
|
23 | 22 | "dev": "rollup -c -w",
|
24 | 23 | "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
0 commit comments