暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 2.4KB

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