package.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "gitbook-plugin-lunr",
  3. "description": "Index book in a lunr index accessible from the search plugin",
  4. "main": "index.js",
  5. "version": "1.2.0",
  6. "engines": {
  7. "gitbook": ">=3.0.0-pre.0"
  8. },
  9. "dependencies": {
  10. "gitbook-plugin-search": "*",
  11. "html-entities": "1.2.0",
  12. "lunr": "0.5.12"
  13. },
  14. "homepage": "https://github.com/GitbookIO/plugin-lunr",
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/GitbookIO/plugin-lunr.git"
  18. },
  19. "license": "Apache-2.0",
  20. "bugs": {
  21. "url": "https://github.com/GitbookIO/plugin-lunr/issues"
  22. },
  23. "gitbook": {
  24. "properties": {
  25. "maxIndexSize": {
  26. "type": "number",
  27. "title": "Limit size for the index",
  28. "default": 1000000
  29. },
  30. "ignoreSpecialCharacters": {
  31. "type": "boolean",
  32. "title": "Ignore special characters in words",
  33. "default": false
  34. }
  35. }
  36. },
  37. "scripts": {
  38. "prepublish": "cp node_modules/lunr/lunr.min.js ./assets/lunr.min.js"
  39. }
  40. }