UNPKG

2.52 kBJSONView Raw
1{
2 "name": "@firebase/analytics",
3 "version": "0.7.11",
4 "description": "A analytics package for new firebase packages",
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/analytics-public.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 "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 && yarn api-report",
26 "build:release": "yarn build && yarn typings:public",
27 "build:deps": "lerna run --scope @firebase/analytics --include-dependencies build",
28 "dev": "rollup -c -w",
29 "test": "run-p lint test:all",
30 "test:all": "run-p test:browser test:integration",
31 "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
32 "test:browser": "karma start --single-run --nocache",
33 "test:integration": "karma start ./karma.integration.conf.js --single-run --nocache",
34 "api-report": "api-extractor run --local --verbose",
35 "doc": "api-documenter markdown --input temp --output docs",
36 "build:doc": "yarn build && yarn doc",
37 "typings:public": "node ../../scripts/build/use_typings.js ./dist/analytics-public.d.ts"
38 },
39 "peerDependencies": {
40 "@firebase/app": "0.x"
41 },
42 "dependencies": {
43 "@firebase/installations": "0.5.11",
44 "@firebase/logger": "0.3.3",
45 "@firebase/util": "1.6.2",
46 "@firebase/component": "0.5.16",
47 "tslib": "^2.1.0"
48 },
49 "license": "Apache-2.0",
50 "devDependencies": {
51 "@firebase/app": "0.7.27",
52 "rollup": "2.72.1",
53 "@rollup/plugin-commonjs": "21.1.0",
54 "@rollup/plugin-json": "4.1.0",
55 "@rollup/plugin-node-resolve": "13.3.0",
56 "rollup-plugin-typescript2": "0.31.2",
57 "typescript": "4.2.2"
58 },
59 "repository": {
60 "directory": "packages/analytics",
61 "type": "git",
62 "url": "https://github.com/firebase/firebase-js-sdk.git"
63 },
64 "bugs": {
65 "url": "https://github.com/firebase/firebase-js-sdk/issues"
66 },
67 "typings": "./dist/analytics-public.d.ts",
68 "nyc": {
69 "extension": [
70 ".ts"
71 ],
72 "reportDir": "./coverage/node"
73 }
74}