|
10 | 10 | "api-report:exp": "(cd exp; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/prune-dts.ts --input dist/exp/private.d.ts --output dist/exp/index.d.ts",
|
11 | 11 | "api-report:lite": "(cd lite; api-extractor run --local --verbose) && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/prune-dts.ts --input dist/lite/private.d.ts --output dist/lite/index.d.ts",
|
12 | 12 | "bundle": "rollup -c",
|
13 |
| - "prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json && run-p api-report:exp api-report:lite", |
| 13 | + "prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json; run-p api-report:exp api-report:lite", |
14 | 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",
|
15 | 15 | "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
|
16 | 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'",
|
|
19 | 19 | "build:exp": "rollup -c rollup.config.exp.js",
|
20 | 20 | "build:lite": "rollup -c rollup.config.lite.js",
|
21 | 21 | "build:exp:release": "yarn build:exp && yarn build:lite",
|
| 22 | + "postbuild:exp:release": "node ../../scripts/exp/remove-exp.js dist/exp/index.d.ts && node ../../scripts/exp/remove-exp.js dist/lite/index.d.ts", |
22 | 23 | "predev": "yarn prebuild",
|
23 | 24 | "dev": "rollup -c -w",
|
24 | 25 | "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
43 | 44 | "test:node:persistence:prod": "node ./scripts/run-tests.js --main=index.node.ts --persistence 'test/{,!(browser)/**/}*.test.ts'",
|
44 | 45 | "test:travis": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts",
|
45 | 46 | "test:minified": "(cd ../../integration/firestore ; yarn test)",
|
46 |
| - "prepare": "yarn build:release", |
47 | 47 | "api-report": "api-extractor run --local --verbose",
|
48 | 48 | "predoc": "node ../../scripts/exp/remove-exp.js temp",
|
49 | 49 | "doc": "api-documenter markdown --input temp --output docs"
|
|
0 commit comments