1 | {
|
2 | "name": "@firebase/auth",
|
3 | "version": "0.19.3",
|
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.esm5.js",
|
11 | "webworker": "dist/index.webworker.esm5.js",
|
12 | "esm5": "dist/esm5/index.js",
|
13 | "exports": {
|
14 | ".": {
|
15 | "node": {
|
16 | "import": "./dist/node-esm/index.js",
|
17 | "require": "./dist/node/index.js"
|
18 | },
|
19 | "react-native": "./dist/rn/index.js",
|
20 | "cordova": "./dist/cordova/index.esm5.js",
|
21 | "webworker": "./dist/index.webworker.esm5.js",
|
22 | "esm5": "./dist/esm5/index.js",
|
23 | "default": "./dist/esm2017/index.js"
|
24 | },
|
25 | "./internal": {
|
26 | "node": {
|
27 | "import": "./dist/node-esm/internal.js",
|
28 | "require": "./dist/node/internal.js"
|
29 | },
|
30 | "react-native": "./dist/rn/internal.js",
|
31 | "cordova": "./dist/cordova/internal.js",
|
32 | "esm5": "./dist/esm5/internal.js",
|
33 | "default": "./dist/esm2017/internal.js"
|
34 | },
|
35 | "./package.json": "./package.json"
|
36 | },
|
37 | "files": [
|
38 | "dist",
|
39 | "cordova/package.json",
|
40 | "internal/package.json",
|
41 | "react-native/package.json"
|
42 | ],
|
43 | "scripts": {
|
44 | "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
45 | "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
46 | "build": "rollup -c && yarn api-report",
|
47 | "build:deps": "lerna run --scope @firebase/auth --include-dependencies build",
|
48 | "build:release": "yarn build && yarn typings:public",
|
49 | "build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
|
50 | "dev": "rollup -c -w",
|
51 | "test": "run-p lint test:all",
|
52 | "test:all": "run-p test:browser:unit test:node:unit test:integration",
|
53 | "test:integration": "firebase emulators:exec --project emulatedproject --only auth \"run-s test:browser:integration:local test:node:integration:local test:webdriver\"",
|
54 | "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
|
55 | "test:integration:local": "run-s test:node:integration:local test:browser:integration:local test:webdriver",
|
56 | "test:browser": "karma start --single-run --local",
|
57 | "test:browser:unit": "karma start --single-run --unit",
|
58 | "test:browser:integration": "karma start --single-run --integration",
|
59 | "test:browser:integration:local": "karma start --single-run --integration --local",
|
60 | "test:browser:debug": "karma start --auto-watch",
|
61 | "test:browser:unit:debug": "karma start --auto-watch --unit",
|
62 | "test:cordova": "karma start --single-run --cordova",
|
63 | "test:cordova:debug": "karma start --auto-watch --cordova",
|
64 | "test:node": "run-s test:node:unit test:node:integration:local",
|
65 | "test:node:unit": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts",
|
66 | "test:node:integration": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration",
|
67 | "test:node:integration:local": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration --local",
|
68 | "test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --webdriver",
|
69 | "api-report": "api-extractor run --local --verbose",
|
70 | "doc": "api-documenter markdown --input temp --output docs",
|
71 | "build:doc": "yarn build && yarn doc",
|
72 | "typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
|
73 | },
|
74 | "peerDependencies": {
|
75 | "@firebase/app": "0.x"
|
76 | },
|
77 | "dependencies": {
|
78 | "@firebase/component": "0.5.9",
|
79 | "@firebase/logger": "0.3.2",
|
80 | "@firebase/util": "1.4.2",
|
81 | "node-fetch": "2.6.5",
|
82 | "selenium-webdriver": "4.0.0-rc-1",
|
83 | "tslib": "^2.1.0"
|
84 | },
|
85 | "license": "Apache-2.0",
|
86 | "devDependencies": {
|
87 | "@firebase/app": "0.7.8",
|
88 | "@rollup/plugin-json": "4.1.0",
|
89 | "rollup": "2.57.0",
|
90 | "rollup-plugin-sourcemaps": "0.6.3",
|
91 | "rollup-plugin-typescript2": "0.30.0",
|
92 | "@rollup/plugin-strip": "2.1.0",
|
93 | "typescript": "4.2.2"
|
94 | },
|
95 | "repository": {
|
96 | "directory": "packages/auth",
|
97 | "type": "git",
|
98 | "url": "https://github.com/firebase/firebase-js-sdk.git"
|
99 | },
|
100 | "bugs": {
|
101 | "url": "https://github.com/firebase/firebase-js-sdk/issues"
|
102 | },
|
103 | "typings": "./dist/auth-public.d.ts",
|
104 | "nyc": {
|
105 | "extension": [
|
106 | ".ts"
|
107 | ],
|
108 | "reportDir": "./coverage/node"
|
109 | }
|
110 | }
|