package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@firebase/util",
  3. "version": "1.9.3",
  4. "description": "",
  5. "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
  6. "main": "dist/index.node.cjs.js",
  7. "browser": "dist/index.esm2017.js",
  8. "module": "dist/index.esm2017.js",
  9. "esm5": "dist/index.esm5.js",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/util-public.d.ts",
  13. "node": {
  14. "import": "./dist/node-esm/index.node.esm.js",
  15. "require": "./dist/index.node.cjs.js"
  16. },
  17. "esm5": "./dist/index.esm5.js",
  18. "browser": {
  19. "require": "./dist/index.cjs.js",
  20. "import": "./dist/index.esm2017.js"
  21. },
  22. "default": "./dist/index.esm2017.js"
  23. },
  24. "./package.json": "./package.json"
  25. },
  26. "files": [
  27. "dist"
  28. ],
  29. "scripts": {
  30. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  31. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  32. "build": "rollup -c && yarn api-report",
  33. "build:deps": "lerna run --scope @firebase/util --include-dependencies build",
  34. "dev": "rollup -c -w",
  35. "prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
  36. "test": "run-p lint test:all",
  37. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
  38. "test:all": "run-p test:browser test:node",
  39. "test:browser": "karma start --single-run",
  40. "test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
  41. "api-report": "api-extractor run --local --verbose",
  42. "typings:public": "node ../../scripts/build/use_typings.js ./dist/util-public.d.ts"
  43. },
  44. "license": "Apache-2.0",
  45. "dependencies": {
  46. "tslib": "^2.1.0"
  47. },
  48. "devDependencies": {
  49. "rollup": "2.79.1",
  50. "rollup-plugin-typescript2": "0.31.2",
  51. "typescript": "4.7.4"
  52. },
  53. "repository": {
  54. "directory": "packages/util",
  55. "type": "git",
  56. "url": "https://github.com/firebase/firebase-js-sdk.git"
  57. },
  58. "bugs": {
  59. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  60. },
  61. "typings": "./dist/util-public.d.ts",
  62. "nyc": {
  63. "extension": [
  64. ".ts"
  65. ],
  66. "reportDir": "./coverage/node"
  67. }
  68. }