説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

package.json 3.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "@firebase/messaging",
  3. "version": "0.12.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. "sw": "dist/index.sw.esm2017.js",
  10. "sw-main": "dist/index.sw.cjs",
  11. "esm5": "dist/esm/index.esm.js",
  12. "exports": {
  13. ".": {
  14. "types": "./dist/index-public.d.ts",
  15. "node": "./dist/index.cjs.js",
  16. "browser": "./dist/esm/index.esm2017.js",
  17. "module": "./dist/esm/index.esm2017.js",
  18. "esm5": "./dist/esm/index.esm.js",
  19. "default": "./dist/index.cjs.js"
  20. },
  21. "./sw": {
  22. "types": "./dist/sw/index-public.d.ts",
  23. "node": "./dist/index.sw.cjs",
  24. "default": "./dist/index.sw.esm2017.js"
  25. },
  26. "./package.json": "./package.json"
  27. },
  28. "typings": "./dist/index-public.d.ts",
  29. "files": [
  30. "dist",
  31. "sw/package.json"
  32. ],
  33. "scripts": {
  34. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  35. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  36. "build": "rollup -c && yarn api-report",
  37. "build:deps": "lerna run --scope @firebase/'{app,messaging}' --include-dependencies build",
  38. "build:release": "yarn build && yarn typings:public",
  39. "dev": "rollup -c -w",
  40. "test": "run-p test:karma type-check lint ",
  41. "test:integration": "run-p test:karma type-check lint && cd ../../integration/messaging && npm run-script test",
  42. "test:ci": "node ../../scripts/run_tests_in_ci.js",
  43. "test:karma": "karma start --single-run",
  44. "test:debug": "karma start --browsers=Chrome --auto-watch",
  45. "api-report": "yarn api-report:main && yarn api-report:sw && yarn api-report:api-json",
  46. "api-report:main": "ts-node-script ../../repo-scripts/prune-dts/extract-public-api.ts --package messaging --packageRoot . --typescriptDts ./dist/src/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/index-public.d.ts",
  47. "api-report:sw": "ts-node-script ../../repo-scripts/prune-dts/extract-public-api.ts --package messaging-sw --packageRoot . --typescriptDts ./dist/src/index.sw.d.ts --rollupDts ./dist/sw/private.d.ts --untrimmedRollupDts ./dist/sw/internal.d.ts --publicDts ./dist/sw/index-public.d.ts",
  48. "api-report:api-json": "api-extractor run --local --verbose",
  49. "type-check": "tsc --noEmit",
  50. "typings:public": "node ../../scripts/build/use_typings.js ./dist/index-public.d.ts"
  51. },
  52. "license": "Apache-2.0",
  53. "peerDependencies": {
  54. "@firebase/app": "0.x"
  55. },
  56. "dependencies": {
  57. "@firebase/installations": "0.6.1",
  58. "@firebase/messaging-interop-types": "0.2.0",
  59. "@firebase/util": "1.9.0",
  60. "@firebase/component": "0.6.1",
  61. "idb": "7.0.1",
  62. "tslib": "^2.1.0"
  63. },
  64. "devDependencies": {
  65. "@firebase/app": "0.9.1",
  66. "rollup": "2.79.1",
  67. "rollup-plugin-typescript2": "0.31.2",
  68. "@rollup/plugin-json": "4.1.0",
  69. "ts-essentials": "9.3.0",
  70. "typescript": "4.7.4"
  71. },
  72. "repository": {
  73. "directory": "packages/messaging",
  74. "type": "git",
  75. "url": "https://github.com/firebase/firebase-js-sdk.git"
  76. },
  77. "bugs": {
  78. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  79. }
  80. }