package.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "@growi/page-split",
  3. "version": "1.0.0",
  4. "license": "MIT",
  5. "private": "true",
  6. "type": "module",
  7. "module": "dist/index.js",
  8. "types": "dist/index.d.ts",
  9. "files": [
  10. "dist"
  11. ],
  12. "main": "dist/index.js",
  13. "typings": "dist/index.d.ts",
  14. "scripts": {
  15. "build": "vite build",
  16. "clean": "shx rm -rf dist",
  17. "dev": "vite build --mode dev",
  18. "watch": "yarn dev -w --emptyOutDir=false",
  19. "lint:js": "yarn eslint **/*.{js,ts}",
  20. "lint:typecheck": "tsc",
  21. "lint": "npm-run-all -p lint:*",
  22. "test": "vitest run --coverage"
  23. },
  24. "devDependencies": {
  25. "eslint-plugin-regex": "^1.8.0",
  26. "hast-util-sanitize": "^4.1.0",
  27. "pako": "^2.1.0",
  28. "throttle-debounce": "^5.0.0",
  29. "unified": "^10.1.2",
  30. "unist-util-visit": "^4.0.0"
  31. },
  32. "peerDependencies": {
  33. "react": "^18.2.0",
  34. "react-dom": "^18.2.0"
  35. },
  36. "dependencies": {
  37. "js-tiktoken": "^1.0.14",
  38. "remark-parse": "^10.0.0",
  39. "remark-stringify": "^10.0.0",
  40. "tiktoken": "^1.0.16",
  41. "unified": "^10.1.2"
  42. }
  43. }