package.json 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "@firebase/auth-compat",
  3. "version": "0.4.2",
  4. "description": "FirebaseAuth compatibility package that uses API style compatible with Firebase@8 and prior versions",
  5. "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
  6. "main": "dist/index.node.cjs.js",
  7. "browser": "dist/index.esm2017.js",
  8. "module": "dist/index.esm2017.js",
  9. "esm5": "dist/index.esm.js",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/auth-compat/index.d.ts",
  13. "node": {
  14. "types": "./dist/auth-compat/index.node.d.ts",
  15. "import": "./dist/esm/index.node.esm.js",
  16. "require": "./dist/index.node.cjs.js"
  17. },
  18. "esm5": "./dist/index.esm.js",
  19. "browser": {
  20. "require": "./dist/index.cjs.js",
  21. "import": "./dist/index.esm2017.js"
  22. },
  23. "default": "./dist/index.esm2017.js"
  24. },
  25. "./package.json": "./package.json"
  26. },
  27. "files": [
  28. "dist"
  29. ],
  30. "scripts": {
  31. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  32. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  33. "build": "rollup -c",
  34. "build:deps": "lerna run --scope @firebase/auth-compat --include-dependencies build",
  35. "build:release": "yarn build && yarn add-compat-overloads",
  36. "dev": "rollup -c -w",
  37. "test": "run-p lint test:all",
  38. "test:all": "run-p test:browser test:node test:integration",
  39. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
  40. "test:browser": "karma start --single-run",
  41. "test:browser:unit": "karma start --single-run --unit",
  42. "test:browser:integration": "karma start --single-run --integration",
  43. "test:node": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts",
  44. "test:node:integration": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration",
  45. "test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --webdriver",
  46. "test:integration": "firebase emulators:exec --project demo-emulatedproject --only auth \"run-s test:browser:integration test:node:integration test:webdriver\"",
  47. "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../auth/dist/auth-public.d.ts -o dist/auth-compat/index.d.ts -a -r Auth:types.FirebaseAuth -r User:types.User -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/auth"
  48. },
  49. "peerDependencies": {
  50. "@firebase/app-compat": "0.x"
  51. },
  52. "dependencies": {
  53. "@firebase/auth": "0.23.2",
  54. "@firebase/auth-types": "0.12.0",
  55. "@firebase/component": "0.6.4",
  56. "@firebase/util": "1.9.3",
  57. "node-fetch": "2.6.7",
  58. "tslib": "^2.1.0"
  59. },
  60. "license": "Apache-2.0",
  61. "devDependencies": {
  62. "@firebase/app-compat": "0.2.10",
  63. "@rollup/plugin-json": "4.1.0",
  64. "rollup": "2.79.1",
  65. "rollup-plugin-replace": "2.2.0",
  66. "rollup-plugin-typescript2": "0.31.2",
  67. "selenium-webdriver": "4.8.0",
  68. "typescript": "4.7.4"
  69. },
  70. "repository": {
  71. "directory": "packages/auth-compat",
  72. "type": "git",
  73. "url": "https://github.com/firebase/firebase-js-sdk.git"
  74. },
  75. "bugs": {
  76. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  77. },
  78. "typings": "dist/auth-compat/index.d.ts",
  79. "nyc": {
  80. "extension": [
  81. ".ts"
  82. ],
  83. "reportDir": "./coverage/node"
  84. }
  85. }