package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@firebase/logger",
  3. "version": "0.4.3",
  4. "description": "A logger package for use in the Firebase JS SDK",
  5. "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
  6. "main": "dist/index.cjs.js",
  7. "module": "dist/esm/index.esm2017.js",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/index.d.ts",
  11. "require": "./dist/index.cjs.js",
  12. "default": "./dist/esm/index.esm2017.js"
  13. },
  14. "./package.json": "./package.json"
  15. },
  16. "files": [
  17. "dist"
  18. ],
  19. "scripts": {
  20. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  21. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  22. "build": "rollup -c",
  23. "build:deps": "lerna run --scope @firebase/logger --include-dependencies build",
  24. "dev": "rollup -c -w",
  25. "test": "run-p --npm-path npm lint test:all",
  26. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
  27. "test:all": "run-p --npm-path npm test:browser test:node",
  28. "test:browser": "karma start",
  29. "test:browser:debug": "karma start --browsers Chrome --auto-watch",
  30. "test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
  31. "trusted-type-check": "tsec -p tsconfig.json --noEmit"
  32. },
  33. "license": "Apache-2.0",
  34. "dependencies": {
  35. "tslib": "^2.1.0"
  36. },
  37. "devDependencies": {
  38. "rollup": "2.79.1",
  39. "rollup-plugin-typescript2": "0.31.2",
  40. "typescript": "4.7.4"
  41. },
  42. "repository": {
  43. "directory": "packages/logger",
  44. "type": "git",
  45. "url": "git+https://github.com/firebase/firebase-js-sdk.git"
  46. },
  47. "bugs": {
  48. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  49. },
  50. "typings": "dist/index.d.ts",
  51. "nyc": {
  52. "extension": [
  53. ".ts"
  54. ],
  55. "reportDir": "./coverage/node"
  56. },
  57. "engines": {
  58. "node": ">=18.0.0"
  59. }
  60. }