Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "@firebase/database",
  3. "version": "0.14.1",
  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. "standalone": "dist/index.standalone.js",
  11. "exports": {
  12. ".": {
  13. "types": "./dist/public.d.ts",
  14. "node": {
  15. "import": "./dist/node-esm/index.node.esm.js",
  16. "require": "./dist/index.node.cjs.js"
  17. },
  18. "esm5": "./dist/index.esm5.js",
  19. "standalone": "./dist/index.standalone.js",
  20. "default": "./dist/index.esm2017.js"
  21. },
  22. "./package.json": "./package.json"
  23. },
  24. "files": [
  25. "dist"
  26. ],
  27. "scripts": {
  28. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  29. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  30. "prettier": "prettier --write '*.js' '*.ts' '@(src|test)/**/*.ts'",
  31. "build": "rollup -c rollup.config.js && yarn api-report",
  32. "build:deps": "lerna run --scope @firebase/'{app,database}' --include-dependencies build",
  33. "dev": "rollup -c -w",
  34. "test": "run-p lint test:emulator",
  35. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:emulator",
  36. "test:all": "run-p lint test:browser test:node",
  37. "test:browser": "karma start --single-run",
  38. "test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
  39. "test:emulator": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/database-test-runner.ts",
  40. "api-report": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package database --packageRoot . --typescriptDts ./dist/src/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/public.d.ts && yarn api-report:api-json",
  41. "api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
  42. "doc": "api-documenter markdown --input temp --output docs",
  43. "typings:public": "node ../../scripts/build/use_typings.js ./dist/public.d.ts"
  44. },
  45. "license": "Apache-2.0",
  46. "peerDependencies": {},
  47. "dependencies": {
  48. "@firebase/logger": "0.4.0",
  49. "@firebase/util": "1.9.0",
  50. "@firebase/component": "0.6.1",
  51. "@firebase/auth-interop-types": "0.2.1",
  52. "faye-websocket": "0.11.4",
  53. "tslib": "^2.1.0"
  54. },
  55. "devDependencies": {
  56. "@firebase/app": "0.9.1",
  57. "rollup": "2.79.1",
  58. "rollup-plugin-typescript2": "0.31.2",
  59. "typescript": "4.7.4"
  60. },
  61. "repository": {
  62. "directory": "packages/database",
  63. "type": "git",
  64. "url": "https://github.com/firebase/firebase-js-sdk.git"
  65. },
  66. "bugs": {
  67. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  68. },
  69. "typings": "./dist/public.d.ts",
  70. "nyc": {
  71. "extension": [
  72. ".ts"
  73. ],
  74. "reportDir": "./coverage/node"
  75. }
  76. }