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