73 lines
2.5 KiB
JSON
73 lines
2.5 KiB
JSON
|
{
|
||
|
"name": "@firebase/performance-compat",
|
||
|
"version": "0.2.5",
|
||
|
"description": "The compatibility package of Firebase Performance",
|
||
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
||
|
"main": "dist/index.cjs.js",
|
||
|
"browser": "dist/esm/index.esm2017.js",
|
||
|
"module": "dist/esm/index.esm2017.js",
|
||
|
"esm5": "dist/esm/index.esm5.js",
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"types": "./dist/src/index.d.ts",
|
||
|
"require": "./dist/index.cjs.js",
|
||
|
"esm5": "./dist/esm/index.esm5.js",
|
||
|
"default": "./dist/esm/index.esm2017.js"
|
||
|
},
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
||
|
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
||
|
"build": "rollup -c",
|
||
|
"build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
|
||
|
"build:deps": "lerna run --scope @firebase/performance-compat --include-dependencies build",
|
||
|
"dev": "rollup -c -w",
|
||
|
"test": "run-p --npm-path npm lint test:all",
|
||
|
"test:all": "run-p --npm-path npm test:browser",
|
||
|
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
|
||
|
"test:browser": "karma start --single-run",
|
||
|
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
|
||
|
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
|
||
|
"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"
|
||
|
},
|
||
|
"license": "Apache-2.0",
|
||
|
"peerDependencies": {
|
||
|
"@firebase/app-compat": "0.x"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@firebase/performance": "0.6.5",
|
||
|
"@firebase/performance-types": "0.2.0",
|
||
|
"@firebase/util": "1.9.4",
|
||
|
"@firebase/logger": "0.4.0",
|
||
|
"@firebase/component": "0.6.5",
|
||
|
"tslib": "^2.1.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"rollup": "2.79.1",
|
||
|
"@rollup/plugin-json": "4.1.0",
|
||
|
"rollup-plugin-replace": "2.2.0",
|
||
|
"rollup-plugin-typescript2": "0.31.2",
|
||
|
"typescript": "4.7.4",
|
||
|
"@firebase/app-compat": "0.2.27"
|
||
|
},
|
||
|
"repository": {
|
||
|
"directory": "packages/performance-compat",
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/firebase/firebase-js-sdk.git"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/firebase/firebase-js-sdk/issues"
|
||
|
},
|
||
|
"typings": "dist/src/index.d.ts",
|
||
|
"nyc": {
|
||
|
"extension": [
|
||
|
".ts"
|
||
|
],
|
||
|
"reportDir": "./coverage/node"
|
||
|
}
|
||
|
}
|