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