UNPKG

2.57 kBJSONView Raw
1{
2 "name": "@firebase/app",
3 "version": "0.10.5",
4 "description": "The primary entrypoint to the Firebase JS SDK",
5 "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6 "main": "dist/index.cjs.js",
7 "browser": "dist/esm/index.esm2017.js",
8 "module": "dist/esm/index.esm2017.js",
9 "esm5": "dist/esm/index.esm5.js",
10 "exports": {
11 ".": {
12 "types": "./dist/app-public.d.ts",
13 "require": "./dist/index.cjs.js",
14 "esm5": "./dist/esm/index.esm5.js",
15 "default": "./dist/esm/index.esm2017.js"
16 },
17 "./package.json": "./package.json"
18 },
19 "files": [
20 "dist"
21 ],
22 "scripts": {
23 "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
24 "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
25 "build": "rollup -c && yarn api-report",
26 "build:release": "rollup -c rollup.config.release.js && yarn api-report && yarn typings:public",
27 "build:deps": "lerna run --scope @firebase/app --include-dependencies build",
28 "dev": "rollup -c -w",
29 "test": "run-p --npm-path npm lint test:all",
30 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
31 "test:all": "run-p --npm-path npm test:browser test:node",
32 "test:browser": "karma start --single-run",
33 "test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.ts --config ../../config/mocharc.node.js",
34 "api-report": "api-extractor run --local --verbose",
35 "doc": "api-documenter markdown --input temp --output docs",
36 "build:doc": "yarn build && yarn doc",
37 "typings:public": "node ../../scripts/build/use_typings.js ./dist/app-public.d.ts",
38 "typings:internal": "node ../../scripts/build/use_typings.js ./dist/app.d.ts"
39 },
40 "dependencies": {
41 "@firebase/util": "1.9.6",
42 "@firebase/logger": "0.4.2",
43 "@firebase/component": "0.6.7",
44 "idb": "7.1.1",
45 "tslib": "^2.1.0"
46 },
47 "license": "Apache-2.0",
48 "devDependencies": {
49 "@rollup/plugin-json": "4.1.0",
50 "rollup": "2.79.1",
51 "rollup-plugin-replace": "2.2.0",
52 "rollup-plugin-typescript2": "0.31.2",
53 "rollup-plugin-dts": "5.3.1",
54 "typescript": "4.7.4"
55 },
56 "repository": {
57 "directory": "packages/app",
58 "type": "git",
59 "url": "git+https://github.com/firebase/firebase-js-sdk.git"
60 },
61 "bugs": {
62 "url": "https://github.com/firebase/firebase-js-sdk/issues"
63 },
64 "typings": "./dist/app-public.d.ts",
65 "nyc": {
66 "extension": [
67 ".ts"
68 ],
69 "reportDir": "./coverage/node"
70 }
71}