|
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 |
| - "prebuild": "tsc -d --downlevelIteration --declarationDir dist/lib --emitDeclarationOnly && tsc -m es2015 --moduleResolution node scripts/*.ts ", |
| 10 | + "prebuild": "tsc -m es2015 --moduleResolution node scripts/*.ts ", |
11 | 11 | "build": "rollup -c rollup.config.es2017.js && rollup -c rollup.config.es5.js",
|
12 | 12 | "build:deps": "lerna run --scope @firebase/'{app,firestore}' --include-dependencies build",
|
13 | 13 | "build:console": "node tools/console.build.js",
|
| 14 | + "build:exp": "rollup -c rollup.config.exp.js", |
14 | 15 | "predev": "yarn prebuild",
|
15 | 16 | "dev": "rollup -c -w",
|
16 | 17 | "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
17 | 18 | "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
18 |
| - "prettier": "prettier --write '*.ts' '*.js' 'src/**/*.js' 'test/**/*.js' 'src/**/*.ts' 'test/**/*.ts'", |
| 19 | + "prettier": "prettier --write '*.ts' '*.js' 'exp/**/*.ts' 'src/**/*.js' 'test/**/*.js' 'src/**/*.ts' 'test/**/*.ts'", |
| 20 | + "pregendeps:exp": "yarn build:exp", |
| 21 | + "gendeps:exp": "../../scripts/exp/extract-deps.sh --types ./exp/index.d.ts --bundle ./dist/exp/index.js --output ./exp/test/deps/dependencies.json", |
| 22 | + "pretest:exp": "yarn build:exp", |
| 23 | + "test:exp": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'exp/test/**/*.test.ts' --file exp/index.node.ts --config ../../config/mocharc.node.js", |
19 | 24 | "test": "run-s lint test:all",
|
20 | 25 | "test:ci": "node ../../scripts/run_tests_in_ci.js",
|
21 | 26 | "test:all": "run-p test:browser test:travis test:minified",
|
|
34 | 39 | "browser": "dist/index.cjs.js",
|
35 | 40 | "module": "dist/index.esm.js",
|
36 | 41 | "esm2017": "dist/index.esm2017.js",
|
| 42 | + "exp": "dist/exp/index.js", |
37 | 43 | "license": "Apache-2.0",
|
38 | 44 | "files": [
|
39 | 45 | "dist",
|
|
0 commit comments