@firebase/auth
Version:
The Firebase Authenticaton component of the Firebase JS SDK.
161 lines (160 loc) • 7.29 kB
JSON
{
"name": "@firebase/auth",
"version": "1.13.9",
"description": "The Firebase Authenticaton component of the Firebase JS SDK.",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/node/index.js",
"react-native": "dist/rn/index.js",
"browser": "dist/esm/index.js",
"module": "dist/esm/index.js",
"cordova": "dist/cordova/index.js",
"web-extension": "dist/web-extension-esm/index.js",
"webworker": "dist/index.webworker.js",
"exports": {
".": {
"types": "./dist/auth-public.d.ts",
"node": {
"types": "./dist/node/index.d.ts",
"import": "./dist/node-esm/index.js",
"require": "./dist/node/index.js"
},
"react-native": {
"types": "./dist/rn/index.rn.d.ts",
"default": "./dist/rn/index.js"
},
"cordova": {
"types": "./dist/cordova/index.cordova.d.ts",
"default": "./dist/cordova/index.js"
},
"webworker": {
"types": "./dist/index.webworker.d.ts",
"default": "./dist/index.webworker.js"
},
"browser": {
"require": "./dist/browser-cjs/index.js",
"import": "./dist/esm/index.js"
},
"default": "./dist/esm/index.js"
},
"./cordova": {
"types": "./dist/cordova/auth-cordova-public.d.ts",
"default": "./dist/cordova/index.js"
},
"./web-extension": {
"types:": "./dist/web-extension-esm/auth-web-extension-public.d.ts",
"import": "./dist/web-extension-esm/index.js",
"require": "./dist/web-extension-cjs/index.js",
"default": "./dist/web-extension-esm/index.js"
},
"./internal": {
"types": "./dist/internal/index.d.ts",
"node": {
"types": "./dist/node/internal/index.d.ts",
"import": "./dist/node-esm/internal.js",
"require": "./dist/node/internal.js"
},
"react-native": {
"types": "./dist/rn/internal/index.d.ts",
"default": "./dist/rn/internal.js"
},
"cordova": {
"types": "./dist/cordova/internal/index.d.ts",
"default": "./dist/cordova/internal.js"
},
"browser": {
"require": "./dist/browser-cjs/internal.js",
"import": "./dist/esm/internal.js"
},
"web-extension": {
"types:": "./dist/web-extension-cjs/internal/index.d.ts",
"import": "./dist/web-extension-esm/internal.js",
"require": "./dist/web-extension-cjs/internal.js",
"default": "./dist/web-extension-esm/internal.js"
},
"default": "./dist/esm/internal.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"cordova/package.json",
"internal/package.json",
"web-extension/package.json"
],
"scripts": {
"lint": "eslint --cache --cache-location '../../node_modules/.cache/eslint/' -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"lint:fix": "eslint --cache --cache-location '../../node_modules/.cache/eslint/' --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"build": "rollup -c && yarn api-report",
"build:deps": "lerna run build --scope @firebase/auth --include-dependencies",
"build:release": "yarn build && yarn typings:public",
"build:scripts": "tsc -moduleResolution node --module commonjs scripts/*.ts && ls scripts/*.js | xargs -I % sh -c 'terser % -o %'",
"dev": "rollup -c -w",
"test": "run-p --npm-path npm lint test:all",
"test:all": "run-s --npm-path npm test:unit test:integration test:browser:integration:prodbackend",
"test:unit": "vitest run",
"test:integration": "firebase emulators:exec --config test/firebase.json --project emulatedproject --only auth \"run-s --npm-path npm test:browser:integration:local test:node:integration:local test:webdriver\"",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:integration:local": "run-s --npm-path npm test:node:integration:local test:browser:integration:local test:webdriver",
"test:browser": "vitest run --project=browser",
"test:browser:unit": "vitest run --project=browser",
"test:browser:integration": "vitest run --project=browser test/integration/flows",
"test:browser:integration:local": "vitest run --project=browser test/integration/flows",
"test:browser:integration:prodbackend": "vitest run --project=browser test/integration/flows/totp.test.ts test/integration/flows/password_policy.test.ts test/integration/flows/recaptcha_enterprise.test.ts test/integration/flows/hosting_link.test.ts",
"test:browser:debug": "vitest --project=browser --browser.headless=false",
"test:browser:unit:debug": "vitest --project=browser --browser.headless=false",
"test:cordova": "vitest run --project=browser src/platform_cordova",
"test:cordova:debug": "vitest --project=browser --browser.headless=false src/platform_cordova",
"test:node": "vitest run --project=node",
"test:node:unit": "vitest run --project=node",
"test:node:integration": "vitest run --project=node test/integration/flows/email.test.ts test/integration/flows/anonymous.test.ts test/integration/flows/firebaseserverapp.test.ts",
"test:node:integration:local": "vitest run --project=node test/integration/flows/email.test.ts test/integration/flows/anonymous.test.ts test/integration/flows/firebaseserverapp.test.ts test/integration/flows/custom.local.test.ts test/integration/flows/idp.local.test.ts test/integration/flows/oob.local.test.ts",
"test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && vitest run --project=node test/integration/webdriver",
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
"api-report": "api-extractor run --local --verbose --config ./api-extractor.json && api-extractor run --local --verbose --config ./web-extension/api-extractor.json && api-extractor run --local --verbose --config ./cordova/api-extractor.json",
"doc": "api-documenter markdown --input temp --output docs",
"build:doc": "yarn build && yarn doc",
"typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
},
"peerDependencies": {
"@firebase/app": "0.x",
"@react-native-async-storage/async-storage": "^2.2.0 || ^3.0.0"
},
"peerDependenciesMeta": {
"@react-native-async-storage/async-storage": {
"optional": true
}
},
"dependencies": {
"@firebase/component": "0.7.5",
"@firebase/logger": "0.5.2",
"@firebase/util": "1.15.3",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.16.5",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-strip": "3.0.4",
"@types/express": "4.17.21",
"@types/selenium-webdriver": "4.35.6",
"chromedriver": "151.0.5",
"cookie-store": "4.0.0-next.4",
"rollup": "4.62.2",
"rollup-plugin-typescript2": "0.37.0",
"selenium-webdriver": "4.30.0",
"totp-generator": "0.0.14",
"typescript": "5.5.4"
},
"repository": {
"directory": "packages/auth",
"type": "git",
"url": "git+https://github.com/firebase/firebase-js-sdk.git"
},
"bugs": {
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"typings": "./dist/auth-public.d.ts",
"engines": {
"node": ">=24.12.0"
}
}