Bez popisu
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.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "@firebase/firestore-compat",
  3. "version": "0.3.1",
  4. "description": "The Cloud Firestore component of the Firebase JS SDK.",
  5. "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
  6. "main": "dist/index.node.cjs.js",
  7. "react-native": "dist/index.rn.js",
  8. "browser": "dist/index.esm2017.js",
  9. "module": "dist/index.esm2017.js",
  10. "esm5": "dist/index.esm5.js",
  11. "exports": {
  12. ".": {
  13. "types": "./dist/src/index.d.ts",
  14. "node": {
  15. "import": "./dist/node-esm/index.node.esm.js",
  16. "require": "./dist/index.node.cjs.js"
  17. },
  18. "react-native": "./dist/index.rn.js",
  19. "esm5": "./dist/index.esm5.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' '@(src|test)/**/*.ts'",
  31. "build": "rollup -c ./rollup.config.js",
  32. "build:console": "node tools/console.build.js",
  33. "build:deps": "lerna run --scope @firebase/firestore-compat --include-dependencies build",
  34. "build:release": "yarn build && yarn add-compat-overloads",
  35. "test": "run-s lint test:all",
  36. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
  37. "test:all": "run-p test:browser test:node",
  38. "test:browser": "karma start --single-run",
  39. "test:node": "mocha --require babel-register.js --require src/index.node.ts --timeout 5000 'test/*.test.ts'",
  40. "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../firestore/dist/index.d.ts -o dist/src/index.d.ts -a -r Firestore:types.FirebaseFirestore -r CollectionReference:types.CollectionReference -r DocumentReference:types.DocumentReference -r Query:types.Query -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/firestore"
  41. },
  42. "peerDependencies": {
  43. "@firebase/app-compat": "0.x"
  44. },
  45. "dependencies": {
  46. "@firebase/component": "0.6.1",
  47. "@firebase/firestore": "3.8.1",
  48. "@firebase/util": "1.9.0",
  49. "@firebase/firestore-types": "2.5.1",
  50. "tslib": "^2.1.0"
  51. },
  52. "devDependencies": {
  53. "@firebase/app-compat": "0.2.1",
  54. "@types/eslint": "7.29.0",
  55. "rollup": "2.79.1",
  56. "rollup-plugin-sourcemaps": "0.6.3",
  57. "rollup-plugin-terser": "7.0.2",
  58. "rollup-plugin-typescript2": "0.31.2",
  59. "@rollup/plugin-node-resolve": "13.3.0",
  60. "ts-node": "10.9.1",
  61. "typescript": "4.7.4"
  62. },
  63. "license": "Apache-2.0",
  64. "typings": "dist/src/index.d.ts",
  65. "repository": {
  66. "directory": "packages/firestore-compat",
  67. "type": "git",
  68. "url": "https://github.com/firebase/firebase-js-sdk.git"
  69. },
  70. "bugs": {
  71. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  72. }
  73. }