package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "@growi/remark-drawio",
  3. "version": "1.0.0",
  4. "description": "Remark plugin to draw diagrams with draw.io (diagrams.net)",
  5. "license": "MIT",
  6. "private": true,
  7. "keywords": [
  8. "unified",
  9. "remark",
  10. "remark-plugin",
  11. "plugin",
  12. "mdast",
  13. "markdown"
  14. ],
  15. "type": "module",
  16. "module": "dist/index.js",
  17. "types": "dist/index.d.ts",
  18. "files": [
  19. "dist"
  20. ],
  21. "main": "dist/index.js",
  22. "typings": "dist/index.d.ts",
  23. "scripts": {
  24. "build": "vite build",
  25. "clean": "shx rm -rf dist",
  26. "dev": "vite build --mode dev",
  27. "watch": "pnpm run dev -w --emptyOutDir=false",
  28. "lint:biome": "biome check",
  29. "lint:styles": "stylelint --allow-empty-input \"src/**/*.scss\" \"src/**/*.css\"",
  30. "lint:typecheck": "tsgo --noEmit",
  31. "lint": "run-p lint:*"
  32. },
  33. "devDependencies": {
  34. "@types/hast": "^3.0.4",
  35. "@types/mdast": "^4.0.4",
  36. "@types/react": "^18.2.14",
  37. "@types/react-dom": "^18.2.6",
  38. "hast-util-sanitize": "^5.0.1",
  39. "pako": "^2.1.0",
  40. "throttle-debounce": "^5.0.0",
  41. "unified": "^11.0.0",
  42. "unist-util-visit": "^5.0.0"
  43. },
  44. "peerDependencies": {
  45. "react": "^18.2.0",
  46. "react-dom": "^18.2.0"
  47. }
  48. }