UNPKG

2.87 kBJSONView Raw
1{
2 "name": "@firebase/storage",
3 "version": "0.12.4",
4 "description": "",
5 "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6 "main": "dist/index.node.cjs.js",
7 "module": "dist/index.esm2017.js",
8 "browser": "dist/index.esm2017.js",
9 "esm5": "dist/index.esm5.js",
10 "exports": {
11 ".": {
12 "types": "./dist/storage-public.d.ts",
13 "node": {
14 "import": "./dist/node-esm/index.node.esm.js",
15 "default": "./dist/index.node.cjs.js"
16 },
17 "esm5": "./dist/index.esm5.js",
18 "browser": {
19 "require": "./dist/index.cjs.js",
20 "import": "./dist/index.esm2017.js"
21 },
22 "default": "./dist/index.esm2017.js"
23 },
24 "./package.json": "./package.json"
25 },
26 "files": [
27 "dist"
28 ],
29 "scripts": {
30 "bundle": "rollup -c",
31 "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
32 "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
33 "build": "rollup -c rollup.config.js && yarn api-report",
34 "build:deps": "lerna run --scope @firebase/storage --include-dependencies build",
35 "dev": "rollup -c -w",
36 "test": "run-p --npm-path npm test:browser test:node lint",
37 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser test:node",
38 "test:browser:unit": "karma start --single-run --unit",
39 "test:browser:integration": "karma start --single-run --integration",
40 "test:browser": "karma start --single-run",
41 "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 src/index.node.ts --config ../../config/mocharc.node.js",
42 "test:debug": "karma start --browser=Chrome",
43 "prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
44 "api-report": "api-extractor run --local --verbose && ts-node-script ../../repo-scripts/prune-dts/prune-dts.ts --input dist/storage-public.d.ts --output dist/storage-public.d.ts",
45 "typings:public": "node ../../scripts/build/use_typings.js ./dist/storage-public.d.ts"
46 },
47 "license": "Apache-2.0",
48 "dependencies": {
49 "@firebase/util": "1.9.5",
50 "@firebase/component": "0.6.6",
51 "undici": "5.28.4",
52 "tslib": "^2.1.0"
53 },
54 "peerDependencies": {
55 "@firebase/app": "0.x"
56 },
57 "devDependencies": {
58 "@firebase/app": "0.10.1",
59 "@firebase/auth": "1.7.1",
60 "rollup": "2.79.1",
61 "@rollup/plugin-alias": "5.1.0",
62 "@rollup/plugin-json": "4.1.0",
63 "rollup-plugin-typescript2": "0.31.2",
64 "typescript": "4.7.4"
65 },
66 "repository": {
67 "directory": "packages/storage",
68 "type": "git",
69 "url": "git+https://github.com/firebase/firebase-js-sdk.git"
70 },
71 "bugs": {
72 "url": "https://github.com/firebase/firebase-js-sdk/issues"
73 },
74 "typings": "./dist/storage-public.d.ts"
75}