暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@firebase/analytics-compat",
  3. "version": "0.2.1",
  4. "description": "",
  5. "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
  6. "main": "dist/index.cjs.js",
  7. "browser": "dist/esm/index.esm2017.js",
  8. "module": "dist/esm/index.esm2017.js",
  9. "esm5": "dist/esm/index.esm.js",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/src/index.d.ts",
  13. "require": "./dist/index.cjs.js",
  14. "esm5": "./dist/esm/index.esm.js",
  15. "default": "./dist/esm/index.esm2017.js"
  16. },
  17. "./package.json": "./package.json"
  18. },
  19. "files": [
  20. "dist"
  21. ],
  22. "license": "Apache-2.0",
  23. "peerDependencies": {
  24. "@firebase/app-compat": "0.x"
  25. },
  26. "devDependencies": {
  27. "@firebase/app-compat": "0.2.1",
  28. "rollup": "2.79.1",
  29. "@rollup/plugin-json": "4.1.0",
  30. "rollup-plugin-typescript2": "0.31.2",
  31. "typescript": "4.7.4"
  32. },
  33. "repository": {
  34. "directory": "packages/analytics-compat",
  35. "type": "git",
  36. "url": "https://github.com/firebase/firebase-js-sdk.git"
  37. },
  38. "bugs": {
  39. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  40. },
  41. "scripts": {
  42. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  43. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  44. "build": "rollup -c",
  45. "build:deps": "lerna run --scope @firebase/analytics-compat --include-dependencies build",
  46. "build:release": "yarn build && yarn add-compat-overloads",
  47. "dev": "rollup -c -w",
  48. "test": "run-p lint test:browser",
  49. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
  50. "test:browser": "karma start --single-run",
  51. "test:browser:debug": "karma start --browsers=Chrome --auto-watch",
  52. "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../analytics/dist/analytics-public.d.ts -o dist/src/index.d.ts -a -r Analytics:FirebaseAnalytics -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/analytics"
  53. },
  54. "typings": "dist/src/index.d.ts",
  55. "dependencies": {
  56. "@firebase/component": "0.6.1",
  57. "@firebase/analytics": "0.9.1",
  58. "@firebase/analytics-types": "0.8.0",
  59. "@firebase/util": "1.9.0",
  60. "tslib": "^2.1.0"
  61. },
  62. "nyc": {
  63. "extension": [
  64. ".ts"
  65. ],
  66. "reportDir": "./coverage/node"
  67. }
  68. }