Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.5KB

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