Sin descripción
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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "@firebase/functions-compat",
  3. "version": "0.3.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. "exports": {
  11. ".": {
  12. "types": "./dist/src/index.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. "default": "./dist/index.esm2017.js"
  19. },
  20. "./package.json": "./package.json"
  21. },
  22. "files": [
  23. "dist"
  24. ],
  25. "license": "Apache-2.0",
  26. "peerDependencies": {
  27. "@firebase/app-compat": "0.x"
  28. },
  29. "devDependencies": {
  30. "@firebase/app-compat": "0.2.1",
  31. "rollup": "2.79.1",
  32. "@rollup/plugin-json": "4.1.0",
  33. "rollup-plugin-typescript2": "0.31.2",
  34. "typescript": "4.7.4"
  35. },
  36. "repository": {
  37. "directory": "packages/functions-compat",
  38. "type": "git",
  39. "url": "https://github.com/firebase/firebase-js-sdk.git"
  40. },
  41. "bugs": {
  42. "url": "https://github.com/firebase/firebase-js-sdk/issues"
  43. },
  44. "scripts": {
  45. "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  46. "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
  47. "build": "rollup -c",
  48. "build:deps": "lerna run --scope @firebase/functions-compat --include-dependencies build",
  49. "build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
  50. "dev": "rollup -c -w",
  51. "test": "run-p lint test:all",
  52. "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
  53. "test:all": "run-p test:browser test:node",
  54. "test:browser": "karma start --single-run",
  55. "test:browser:debug": "karma start --browsers=Chrome --auto-watch",
  56. "test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
  57. "test:emulator": "env FIREBASE_FUNCTIONS_HOST=http://localhost FIREBASE_FUNCTIONS_PORT=5005 run-p test:node",
  58. "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../functions/dist/functions-public.d.ts -o dist/src/index.d.ts -a -r Functions:types.FirebaseFunctions -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/functions"
  59. },
  60. "typings": "dist/src/index.d.ts",
  61. "dependencies": {
  62. "@firebase/component": "0.6.1",
  63. "@firebase/functions": "0.9.1",
  64. "@firebase/functions-types": "0.6.0",
  65. "@firebase/util": "1.9.0",
  66. "tslib": "^2.1.0"
  67. },
  68. "nyc": {
  69. "extension": [
  70. ".ts"
  71. ],
  72. "reportDir": "./coverage/node"
  73. }
  74. }