File tree Expand file tree Collapse file tree 4 files changed +26
-3
lines changed Expand file tree Collapse file tree 4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ../../config/api-extractor.json" ,
3
+ // Point it to your entry point d.ts file.
4
+ "mainEntryPointFilePath" : " <projectFolder>/dist/index.d.ts"
5
+ }
Original file line number Diff line number Diff line change 16
16
"scripts" : {
17
17
"lint" : " eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'" ,
18
18
"lint:fix" : " eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'" ,
19
- "build" : " rollup -c" ,
19
+ "build" : " rollup -c && yarn api-report " ,
20
20
"build:deps" : " lerna run --scope @firebase/auth-exp --include-dependencies build" ,
21
21
"build:release" : " rollup -c rollup.config.release.js" ,
22
22
"dev" : " rollup -c -w" ,
29
29
"test:browser:debug" : " karma start --auto-watch" ,
30
30
"test:browser:unit:debug" : " karma start --auto-watch --unit" ,
31
31
"test:node" : " TS_NODE_COMPILER_OPTIONS='{\" module\" :\" commonjs\" }' nyc --reporter lcovonly -- mocha 'src/!(platform_browser|platform_react_native)/**/*.test.ts' --file index.node.ts --config ../../config/mocharc.node.js" ,
32
- "prepare" : " rollup -c rollup.config.release.js"
32
+ "prepare" : " rollup -c rollup.config.release.js" ,
33
+ "api-report" : " api-extractor run --local --verbose" ,
34
+ "predoc" : " node ../../scripts/exp/remove-exp.js temp" ,
35
+ "doc" : " api-documenter markdown --input temp --output docs" ,
36
+ "build:doc" : " yarn build && yarn doc"
33
37
},
34
38
"peerDependencies" : {
35
39
"@firebase/app-exp" : " 0.x" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ../../config/api-extractor.json" ,
3
+ // Point it to your entry point d.ts file.
4
+ "mainEntryPointFilePath" : " <projectFolder>/dist/src/index.d.ts" ,
5
+ "dtsRollup" : {
6
+ "enabled" : true ,
7
+ "untrimmedFilePath" : " <projectFolder>/dist/<unscopedPackageName>.d.ts" ,
8
+ "publicTrimmedFilePath" : " <projectFolder>/dist/<unscopedPackageName>-public.d.ts"
9
+ }
10
+ }
Original file line number Diff line number Diff line change 6
6
"author" :
" Firebase <[email protected] > (https://firebase.google.com/)" ,
7
7
"license" : " Apache-2.0" ,
8
8
"scripts" : {
9
- "test" : " tsc"
9
+ "test" : " tsc" ,
10
+ "api-report" : " api-extractor run --local --verbose" ,
11
+ "predoc" : " node ../../scripts/exp/remove-exp.js temp" ,
12
+ "doc" : " api-documenter markdown --input temp --output docs" ,
13
+ "build:doc" : " yarn api-report && yarn doc"
10
14
},
11
15
"files" : [
12
16
" index.d.ts"
You can’t perform that action at this time.
0 commit comments