package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "_from": "@docsearch/js@3.0.0",
  3. "_id": "@docsearch/js@3.0.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-j3tUJWlgW3slYqzGB8fm7y05kh2qqrIK1dZOXHeMUm/5gdKE85fiz/ltfCPMDFb/MXF+bLZChJXSMzqY0Ck30Q==",
  6. "_location": "/@docsearch/js",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "@docsearch/js@3.0.0",
  12. "name": "@docsearch/js",
  13. "escapedName": "@docsearch%2fjs",
  14. "scope": "@docsearch",
  15. "rawSpec": "3.0.0",
  16. "saveSpec": null,
  17. "fetchSpec": "3.0.0"
  18. },
  19. "_requiredBy": [
  20. "/vitepress"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/@docsearch/js/-/js-3.0.0.tgz",
  23. "_shasum": "394a99f68895503d57faf523ecec0b25b02f638c",
  24. "_spec": "@docsearch/js@3.0.0",
  25. "_where": "D:\\work\\liebao-developApi\\node_modules\\vitepress",
  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. "@docsearch/react": "3.0.0",
  36. "preact": "^10.0.0"
  37. },
  38. "deprecated": false,
  39. "description": "JavaScript package for DocSearch, the best search experience for docs.",
  40. "files": [
  41. "dist/"
  42. ],
  43. "homepage": "https://docsearch.algolia.com",
  44. "jsdelivr": "dist/umd/index.js",
  45. "license": "MIT",
  46. "main": "dist/umd/index.js",
  47. "module": "dist/esm/index.js",
  48. "name": "@docsearch/js",
  49. "repository": {
  50. "type": "git",
  51. "url": "git+https://github.com/algolia/docsearch.git"
  52. },
  53. "scripts": {
  54. "build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types",
  55. "build:clean": "rm -rf ./dist",
  56. "build:esm": "cross-env BUILD=esm rollup --config",
  57. "build:types": "tsc -p ./tsconfig.declaration.json --outFile ./dist/esm/index.d.ts",
  58. "build:umd": "cross-env BUILD=umd rollup --config",
  59. "on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"",
  60. "prepare": "yarn build:esm && yarn build:types",
  61. "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
  62. },
  63. "sideEffects": false,
  64. "source": "src/index.ts",
  65. "types": "dist/esm/index.d.ts",
  66. "umd:main": "dist/umd/index.js",
  67. "unpkg": "dist/umd/index.js",
  68. "version": "3.0.0"
  69. }