package.json 1.9 KB

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