package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "diagram-js-minimap",
  3. "version": "4.1.0",
  4. "description": "A minimap for diagram-js",
  5. "main": "dist/index.js",
  6. "module": "dist/index.esm.js",
  7. "umd:main": "dist/diagram-minimap.umd.js",
  8. "source": "lib/index.js",
  9. "scripts": {
  10. "all": "run-s lint test distro",
  11. "lint": "eslint .",
  12. "dev": "npm test -- --auto-watch --no-single-run",
  13. "test": "karma start",
  14. "distro": "run-s build test:build",
  15. "build": "rollup -c --bundleConfigAsCjs",
  16. "build:watch": "run-s bundle -- -w",
  17. "test:build": "karma start test/distro/karma.conf.js",
  18. "prepublishOnly": "run-s distro"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "git@github.com:bpmn-io/diagram-js-minimap.git"
  23. },
  24. "keywords": [
  25. "diagram-js",
  26. "minimap"
  27. ],
  28. "author": "Philipp Fromme",
  29. "license": "MIT",
  30. "devDependencies": {
  31. "@rollup/plugin-commonjs": "^24.0.1",
  32. "@rollup/plugin-node-resolve": "^15.0.1",
  33. "@rollup/plugin-terser": "^0.4.0",
  34. "chai": "^4.3.7",
  35. "diagram-js": "^11.11.0",
  36. "eslint": "^8.36.0",
  37. "eslint-plugin-bpmn-io": "^1.0.0",
  38. "karma": "^6.4.1",
  39. "karma-chrome-launcher": "^3.1.1",
  40. "karma-firefox-launcher": "^2.1.2",
  41. "karma-mocha": "^2.0.1",
  42. "karma-sinon-chai": "^2.0.2",
  43. "karma-webpack": "^5.0.0",
  44. "mocha": "^10.2.0",
  45. "mocha-test-container-support": "^0.2.0",
  46. "npm-run-all": "^4.1.5",
  47. "puppeteer": "^19.7.5",
  48. "rollup": "^3.20.0",
  49. "sinon": "^15.0.2",
  50. "sinon-chai": "^3.7.0",
  51. "webpack": "^5.76.3"
  52. },
  53. "dependencies": {
  54. "hammerjs": "^2.0.8",
  55. "min-dash": "^4.0.0",
  56. "min-dom": "^4.1.0",
  57. "tiny-svg": "^3.0.0"
  58. },
  59. "files": [
  60. "dist",
  61. "assets"
  62. ]
  63. }