18
18
"lint:fix" : " eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'" ,
19
19
"build" : " rollup -c && yarn api-report" ,
20
20
"build:deps" : " lerna run --scope @firebase/'{app-exp,messaging-exp}' --include-dependencies build" ,
21
- "build:release" : " rollup -c rollup.config.release.js && yarn api-report" ,
21
+ "build:release" : " rollup -c rollup.config.release.js && yarn api-report && yarn typings:public " ,
22
22
"dev" : " rollup -c -w" ,
23
23
"test" : " run-p test:karma type-check lint " ,
24
24
"test:integration" : " run-p test:karma type-check lint && cd ../../integration/messaging && npm run-script test" ,
25
25
"test:ci" : " node ../../scripts/run_tests_in_ci.js" ,
26
26
"test:karma" : " karma start --single-run" ,
27
27
"test:debug" : " karma start --browsers=Chrome --auto-watch" ,
28
- "api-report" : " api-extractor run --local --verbose" ,
29
- "type-check" : " tsc --noEmit"
28
+ "api-report" : " yarn api-report:rollup && yarn api-report:api-json" ,
29
+ "api-report:rollup" : " ts-node-script ../../repo-scripts/prune-dts/extract-public-api.ts --package messaging-exp --packageRoot . --typescriptDts ./dist/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/index-public.d.ts" ,
30
+ "api-report:api-json" : " api-extractor run --local --verbose" ,
31
+ "type-check" : " tsc --noEmit" ,
32
+ "typings:public" : " node ../../scripts/exp/use_typings.js ./dist/index-public.d.ts"
30
33
},
31
34
"license" : " Apache-2.0" ,
32
35
"peerDependencies" : {
54
57
"url" : " https://github.com/firebase/firebase-js-sdk/issues"
55
58
},
56
59
"esm5" : " dist/index.esm.js"
57
- }
60
+ }
0 commit comments