Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@firebase/database-compat",
  3. "version": "0.3.1",
  4. "description": "The Realtime Database component of the Firebase JS SDK.",
  5. "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
  6. "main": "dist/index.js",
  7. "browser": "dist/index.esm2017.js",
  8. "module": "dist/index.esm2017.js",
  9. "esm5": "dist/index.esm5.js",
  10. "license": "Apache-2.0",
  11. "typings": "dist/database-compat/src/index.d.ts",
  12. "files": [
  13. "dist",
  14. "standalone/package.json"
  15. ],
  16. "exports": {
  17. ".": {
  18. "types": "./dist/database-compat/src/index.d.ts",
  19. "node": {
  20. "types": "./dist/database-compat/src/index.node.d.ts",
  21. "import": "./dist/node-esm/index.js",
  22. "require": "./dist/index.js"
  23. },
  24. "esm5": "./dist/index.esm5.js",
  25. "default": "./dist/index.esm2017.js"
  26. },
  27. "./standalone": {
  28. "types": "./dist/database-compat/src/index.standalone.d.ts",
  29. "node": "./dist/index.standalone.js"
  30. },
  31. "./package.json": "./package.json"
  32. },
  33. "scripts": {
  34. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  35. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  36. "prettier": "prettier --write '*.js' '*.ts' '@(src|test)/**/*.ts'",
  37. "build": "rollup -c rollup.config.js",
  38. "build:release": "yarn build && yarn add-compat-overloads",
  39. "build:deps": "lerna run --scope @firebase/database-compat --include-dependencies build",
  40. "dev": "rollup -c -w",
  41. "test": "run-p lint test:browser test:node",
  42. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test",
  43. "test:browser": "karma start --single-run",
  44. "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",
  45. "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../database/dist/public.d.ts -o dist/database-compat/src/index.d.ts -a -r Database:types.FirebaseDatabase -r Query:types.Query -r DatabaseReference:types.Reference -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/database"
  46. },
  47. "dependencies": {
  48. "@firebase/database": "0.14.1",
  49. "@firebase/database-types": "0.10.1",
  50. "@firebase/logger": "0.4.0",
  51. "@firebase/util": "1.9.0",
  52. "@firebase/component": "0.6.1",
  53. "tslib": "^2.1.0"
  54. },
  55. "devDependencies": {
  56. "@firebase/app-compat": "0.2.1",
  57. "typescript": "4.7.4"
  58. },
  59. "repository": {
  60. "directory": "packages/database-compat",
  61. "type": "git",
  62. "url": "https://github.com/firebase/firebase-js-sdk.git"
  63. },
  64. "bugs": {
  65. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  66. }
  67. }