21
21
"build:exp:release" : " yarn build:exp && yarn build:compat" ,
22
22
"build:deps" : " lerna run --scope @firebase/storage --include-dependencies build" ,
23
23
"dev" : " rollup -c -w" ,
24
- "test" : " run-p test:browser lint" ,
25
- "test:ci" : " node ../../scripts/run_tests_in_ci.js -s test:browser" ,
24
+ "test" : " run-p test:browser test:node lint" ,
25
+ "test:ci" : " node ../../scripts/run_tests_in_ci.js -s test:browser test:node " ,
26
26
"test:browser:compat:unit" : " karma start --single-run --compat --unit" ,
27
27
"test:browser:exp:unit" : " karma start --single-run --exp --unit" ,
28
28
"test:browser:compat:integration" : " karma start --single-run --compat --integration" ,
29
29
"test:browser:exp:integration" : " karma start --single-run --exp --integration" ,
30
30
"test:browser:compat" : " karma start --single-run --compat" ,
31
31
"test:browser:exp" : " karma start --single-run --exp" ,
32
32
"test:browser" : " karma start --single-run" ,
33
+ "test:node" : " TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\" module\" :\" commonjs\" }' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file index.ts --config ../../config/mocharc.node.js" ,
33
34
"test:debug" : " karma start --browser=Chrome" ,
34
35
"prettier" : " prettier --write 'src/**/*.ts' 'test/**/*.ts'" ,
35
36
"api-report" : " api-extractor run --local --verbose && ts-node-script ../../repo-scripts/prune-dts/prune-dts.ts --input exp/dist/storage-public.d.ts --output exp/dist/storage-public.d.ts" ,
40
41
"@firebase/storage-types" : " 0.4.1" ,
41
42
"@firebase/util" : " 1.1.0" ,
42
43
"@firebase/component" : " 0.5.3" ,
44
+ "node-fetch" : " 2.6.1" ,
43
45
"tslib" : " ^2.1.0"
44
46
},
45
47
"peerDependencies" : {
50
52
"@firebase/app" : " 0.6.27" ,
51
53
"@firebase/auth" : " 0.16.7" ,
52
54
"rollup" : " 2.35.1" ,
55
+ "@rollup/plugin-alias" : " 3.1.1" ,
53
56
"@rollup/plugin-json" : " 4.1.0" ,
54
57
"rollup-plugin-typescript2" : " 0.29.0" ,
55
58
"typescript" : " 4.2.2"
63
66
"url" : " https://github.com/firebase/firebase-js-sdk/issues"
64
67
},
65
68
"typings" : " dist/index.d.ts"
66
- }
69
+ }
0 commit comments