Ingen beskrivning
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

package.json 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "name": "@firebase/auth",
  3. "version": "0.21.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.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.6.1",
  106. "@firebase/logger": "0.4.0",
  107. "@firebase/util": "1.9.0",
  108. "node-fetch": "2.6.7",
  109. "tslib": "^2.1.0"
  110. },
  111. "license": "Apache-2.0",
  112. "devDependencies": {
  113. "@firebase/app": "0.9.1",
  114. "@rollup/plugin-json": "4.1.0",
  115. "@rollup/plugin-strip": "2.1.0",
  116. "chromedriver": "98.0.1",
  117. "rollup": "2.79.1",
  118. "rollup-plugin-sourcemaps": "0.6.3",
  119. "rollup-plugin-typescript2": "0.31.2",
  120. "selenium-webdriver": "4.5.0",
  121. "typescript": "4.7.4",
  122. "@types/express": "4.17.14"
  123. },
  124. "repository": {
  125. "directory": "packages/auth",
  126. "type": "git",
  127. "url": "https://github.com/firebase/firebase-js-sdk.git"
  128. },
  129. "bugs": {
  130. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  131. },
  132. "typings": "./dist/auth-public.d.ts",
  133. "nyc": {
  134. "extension": [
  135. ".ts"
  136. ],
  137. "reportDir": "./coverage/node"
  138. }
  139. }