package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "_from": "@docsearch/react@3.0.0",
  3. "_id": "@docsearch/react@3.0.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg==",
  6. "_location": "/@docsearch/react",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "@docsearch/react@3.0.0",
  12. "name": "@docsearch/react",
  13. "escapedName": "@docsearch%2freact",
  14. "scope": "@docsearch",
  15. "rawSpec": "3.0.0",
  16. "saveSpec": null,
  17. "fetchSpec": "3.0.0"
  18. },
  19. "_requiredBy": [
  20. "/@docsearch/js"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0.tgz",
  23. "_shasum": "d02ebdc67573412185a6a4df13bc254c7c0da491",
  24. "_spec": "@docsearch/react@3.0.0",
  25. "_where": "D:\\work\\liebao-developApi\\node_modules\\@docsearch\\js",
  26. "author": {
  27. "name": "Algolia, Inc.",
  28. "url": "https://www.algolia.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/algolia/docsearch/issues"
  32. },
  33. "bundleDependencies": false,
  34. "dependencies": {
  35. "@algolia/autocomplete-core": "1.5.2",
  36. "@algolia/autocomplete-preset-algolia": "1.5.2",
  37. "@docsearch/css": "3.0.0",
  38. "algoliasearch": "^4.0.0"
  39. },
  40. "deprecated": false,
  41. "description": "React package for DocSearch, the best search experience for docs.",
  42. "files": [
  43. "dist/",
  44. "style/",
  45. "button.js",
  46. "modal.js"
  47. ],
  48. "homepage": "https://docsearch.algolia.com",
  49. "jsdelivr": "dist/umd/index.js",
  50. "license": "MIT",
  51. "main": "dist/umd/index.js",
  52. "module": "dist/esm/index.js",
  53. "name": "@docsearch/react",
  54. "peerDependencies": {
  55. "@types/react": ">= 16.8.0 < 18.0.0",
  56. "react": ">= 16.8.0 < 18.0.0",
  57. "react-dom": ">= 16.8.0 < 18.0.0"
  58. },
  59. "repository": {
  60. "type": "git",
  61. "url": "git+https://github.com/algolia/docsearch.git"
  62. },
  63. "scripts": {
  64. "build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types",
  65. "build:clean": "rm -rf ./dist",
  66. "build:esm": "babel src --root-mode upward --extensions '.ts,.tsx' --out-dir dist/esm",
  67. "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
  68. "build:umd": "rollup --config",
  69. "on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"",
  70. "prepare": "yarn build:esm && yarn build:types",
  71. "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
  72. },
  73. "sideEffects": false,
  74. "source": "src/index.ts",
  75. "types": "dist/esm/index.d.ts",
  76. "umd:main": "dist/umd/index.js",
  77. "unpkg": "dist/umd/index.js",
  78. "version": "3.0.0"
  79. }