UNPKG

5.51 kBJSONView Raw
1{
2 "name": "@firebase/auth",
3 "version": "0.20.5",
4 "description": "The Firebase Authenticaton component of the Firebase JS SDK.",
5 "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6 "main": "dist/node/index.js",
7 "react-native": "dist/rn/index.js",
8 "browser": "dist/esm2017/index.js",
9 "module": "dist/esm2017/index.js",
10 "cordova": "dist/cordova/index.js",
11 "webworker": "dist/index.webworker.esm5.js",
12 "esm5": "dist/esm5/index.js",
13 "exports": {
14 ".": {
15 "types": "./dist/auth-public.d.ts",
16 "node": {
17 "types": "./dist/node/index.d.ts",
18 "import": "./dist/node-esm/index.js",
19 "require": "./dist/node/index.js"
20 },
21 "react-native": {
22 "types": "./dist/rn/index.rn.d.ts",
23 "default": "./dist/rn/index.js"
24 },
25 "cordova": {
26 "types": "./dist/cordova/index.cordova.d.ts",
27 "default": "./dist/cordova/index.js"
28 },
29 "webworker": {
30 "types": "./dist/index.webworker.d.ts",
31 "default": "./dist/index.webworker.esm5.js"
32 },
33 "esm5": "./dist/esm5/index.js",
34 "default": "./dist/esm2017/index.js"
35 },
36 "./cordova": {
37 "types": "./dist/cordova/index.cordova.d.ts",
38 "default": "./dist/cordova/index.js"
39 },
40 "./react-native": {
41 "types": "./dist/rn/index.rn.d.ts",
42 "default": "./dist/rn/index.js"
43 },
44 "./internal": {
45 "types": "./dist/internal/index.d.ts",
46 "node": {
47 "types": "./dist/node/internal/index.d.ts",
48 "import": "./dist/node-esm/internal.js",
49 "require": "./dist/node/internal.js"
50 },
51 "react-native": {
52 "types": "./dist/rn/internal/index.d.ts",
53 "default": "./dist/rn/internal.js"
54 },
55 "cordova": {
56 "types": "./dist/cordova/internal/index.d.ts",
57 "default": "./dist/cordova/internal.js"
58 },
59 "esm5": "./dist/esm5/internal.js",
60 "default": "./dist/esm2017/internal.js"
61 },
62 "./package.json": "./package.json"
63 },
64 "files": [
65 "dist",
66 "cordova/package.json",
67 "internal/package.json",
68 "react-native/package.json"
69 ],
70 "scripts": {
71 "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
72 "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
73 "build": "rollup -c && yarn api-report",
74 "build:deps": "lerna run --scope @firebase/auth --include-dependencies build",
75 "build:release": "yarn build && yarn typings:public",
76 "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
77 "dev": "rollup -c -w",
78 "test": "run-p lint test:all",
79 "test:all": "run-p test:browser:unit test:node:unit test:integration",
80 "test:integration": "firebase emulators:exec --project emulatedproject --only auth \"run-s test:browser:integration:local test:node:integration:local test:webdriver\"",
81 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
82 "test:integration:local": "run-s test:node:integration:local test:browser:integration:local test:webdriver",
83 "test:browser": "karma start --single-run --local",
84 "test:browser:unit": "karma start --single-run --unit",
85 "test:browser:integration": "karma start --single-run --integration",
86 "test:browser:integration:local": "karma start --single-run --integration --local",
87 "test:browser:debug": "karma start --auto-watch",
88 "test:browser:unit:debug": "karma start --auto-watch --unit",
89 "test:cordova": "karma start --single-run --cordova",
90 "test:cordova:debug": "karma start --auto-watch --cordova",
91 "test:node": "run-s test:node:unit test:node:integration:local",
92 "test:node:unit": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts",
93 "test:node:integration": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration",
94 "test:node:integration:local": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration --local",
95 "test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --webdriver",
96 "api-report": "api-extractor run --local --verbose",
97 "doc": "api-documenter markdown --input temp --output docs",
98 "build:doc": "yarn build && yarn doc",
99 "typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
100 },
101 "peerDependencies": {
102 "@firebase/app": "0.x"
103 },
104 "dependencies": {
105 "@firebase/component": "0.5.17",
106 "@firebase/logger": "0.3.3",
107 "@firebase/util": "1.6.3",
108 "node-fetch": "2.6.7",
109 "selenium-webdriver": "4.1.2",
110 "tslib": "^2.1.0"
111 },
112 "license": "Apache-2.0",
113 "devDependencies": {
114 "@firebase/app": "0.7.28",
115 "@rollup/plugin-json": "4.1.0",
116 "@rollup/plugin-strip": "2.1.0",
117 "chromedriver": "98.0.1",
118 "rollup": "2.72.1",
119 "rollup-plugin-sourcemaps": "0.6.3",
120 "rollup-plugin-typescript2": "0.31.2",
121 "typescript": "4.2.2"
122 },
123 "repository": {
124 "directory": "packages/auth",
125 "type": "git",
126 "url": "https://github.com/firebase/firebase-js-sdk.git"
127 },
128 "bugs": {
129 "url": "https://github.com/firebase/firebase-js-sdk/issues"
130 },
131 "typings": "./dist/auth-public.d.ts",
132 "nyc": {
133 "extension": [
134 ".ts"
135 ],
136 "reportDir": "./coverage/node"
137 }
138}