package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "@excalidraw/utils",
  3. "version": "0.1.2",
  4. "description": "Excalidraw utility functions",
  5. "keywords": [
  6. "excalidraw",
  7. "excalidraw-utils"
  8. ],
  9. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  10. "license": "MIT",
  11. "repository": "https://github.com/excalidraw/excalidraw",
  12. "files": [
  13. "dist/*"
  14. ],
  15. "type": "module",
  16. "main": "./dist/prod/index.js",
  17. "module": "./dist/prod/index.js",
  18. "types": "./dist/types/utils/src/index.d.ts",
  19. "exports": {
  20. ".": {
  21. "types": "./dist/types/utils/src/index.d.ts",
  22. "development": "./dist/dev/index.js",
  23. "production": "./dist/prod/index.js",
  24. "default": "./dist/prod/index.js"
  25. },
  26. "./*": {
  27. "types": "./dist/types/utils/src/*.d.ts"
  28. }
  29. },
  30. "publishConfig": {
  31. "access": "public"
  32. },
  33. "scripts": {
  34. "gen:types": "rimraf types && tsc",
  35. "build:esm": "rimraf dist && node ../../scripts/buildUtils.js && yarn gen:types"
  36. },
  37. "dependencies": {
  38. "@braintree/sanitize-url": "6.0.2",
  39. "@excalidraw/laser-pointer": "1.3.1",
  40. "browser-fs-access": "0.29.1",
  41. "pako": "2.0.3",
  42. "perfect-freehand": "1.2.0",
  43. "png-chunk-text": "1.0.0",
  44. "png-chunks-encode": "1.0.0",
  45. "png-chunks-extract": "1.0.0",
  46. "roughjs": "4.6.4"
  47. },
  48. "devDependencies": {
  49. "cross-env": "7.0.3",
  50. "fonteditor-core": "2.4.0",
  51. "typescript": "5.9.3",
  52. "wawoff2": "2.0.1",
  53. "which": "4.0.0"
  54. },
  55. "browserslist": {
  56. "production": [
  57. ">0.2%",
  58. "not dead",
  59. "not ie <= 11",
  60. "not op_mini all",
  61. "not safari < 12",
  62. "not kaios <= 2.5",
  63. "not edge < 79",
  64. "not chrome < 70",
  65. "not and_uc < 13",
  66. "not samsung < 10"
  67. ],
  68. "development": [
  69. "last 1 chrome version",
  70. "last 1 firefox version",
  71. "last 1 safari version"
  72. ]
  73. }
  74. }