|
11 | 11 | "compile": "tsc --emitDeclarationOnly --declaration -p tsconfig.json", |
12 | 12 | "prebuild": "tsc --emitDeclarationOnly --declaration -p tsconfig.json; yarn api-report", |
13 | 13 | "build": "run-p --npm-path npm build:lite build:main", |
14 | | - "build:release": "yarn build", |
| 14 | + "build:release": "yarn build && yarn typings:public", |
15 | 15 | "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'", |
16 | 16 | "build:deps": "lerna run --scope @firebase/firestore --include-dependencies build", |
17 | 17 | "build:main": "rollup -c rollup.config.js", |
|
57 | 57 | "api-report:api-json": "rm -rf temp && api-extractor run --local --verbose", |
58 | 58 | "api-report": "run-s --npm-path npm api-report:main api-report:pipelines api-report:lite api-report:lite:pipelines && yarn api-report:api-json", |
59 | 59 | "doc": "api-documenter markdown --input temp --output docs", |
| 60 | + "typings:public": "node ../../scripts/build/use_typings.js ./dist/index.d.ts", |
60 | 61 | "assertion-id:check": "ts-node scripts/assertion-id-tool.ts --dir=src --check", |
61 | 62 | "assertion-id:new": "ts-node scripts/assertion-id-tool.ts --dir=src --new", |
62 | 63 | "assertion-id:list": "ts-node scripts/assertion-id-tool.ts --dir=src --list", |
|
172 | 173 | "bugs": { |
173 | 174 | "url": "https://github.com/firebase/firebase-js-sdk/issues" |
174 | 175 | }, |
175 | | - "typings": "dist/index.d.ts", |
| 176 | + "typings": "dist/firestore/src/index.d.ts", |
176 | 177 | "nyc": { |
177 | 178 | "extension": [ |
178 | 179 | ".ts" |
|
0 commit comments