package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@excalidraw/utils",
  3. "version": "0.1.3-test27",
  4. "main": "./dist/prod/index.js",
  5. "type": "module",
  6. "module": "./dist/prod/index.js",
  7. "exports": {
  8. ".": {
  9. "development": "./dist/dev/index.js",
  10. "default": "./dist/prod/index.js"
  11. }
  12. },
  13. "types": "./dist/utils/index.d.ts",
  14. "files": [
  15. "dist/*"
  16. ],
  17. "description": "Excalidraw utilities functions",
  18. "publishConfig": {
  19. "access": "public"
  20. },
  21. "license": "MIT",
  22. "keywords": [
  23. "excalidraw",
  24. "excalidraw-utils"
  25. ],
  26. "browserslist": {
  27. "production": [
  28. ">0.2%",
  29. "not dead",
  30. "not ie <= 11",
  31. "not op_mini all",
  32. "not safari < 12",
  33. "not kaios <= 2.5",
  34. "not edge < 79",
  35. "not chrome < 70",
  36. "not and_uc < 13",
  37. "not samsung < 10"
  38. ],
  39. "development": [
  40. "last 1 chrome version",
  41. "last 1 firefox version",
  42. "last 1 safari version"
  43. ]
  44. },
  45. "dependencies": {
  46. "@braintree/sanitize-url": "6.0.2",
  47. "@excalidraw/laser-pointer": "1.3.1",
  48. "browser-fs-access": "0.29.1",
  49. "open-color": "1.9.1",
  50. "pako": "1.0.11",
  51. "perfect-freehand": "1.2.0",
  52. "png-chunk-text": "1.0.0",
  53. "png-chunks-encode": "1.0.0",
  54. "png-chunks-extract": "1.0.0",
  55. "roughjs": "4.6.4"
  56. },
  57. "devDependencies": {
  58. "@babel/core": "7.24.5",
  59. "@babel/plugin-transform-arrow-functions": "7.24.1",
  60. "@babel/plugin-transform-async-to-generator": "7.24.1",
  61. "@babel/plugin-transform-runtime": "7.24.3",
  62. "@babel/plugin-transform-typescript": "7.24.5",
  63. "@babel/preset-env": "7.24.5",
  64. "@babel/preset-typescript": "7.24.1",
  65. "babel-loader": "8.2.5",
  66. "babel-plugin-transform-class-properties": "6.24.1",
  67. "cross-env": "7.0.3",
  68. "css-loader": "6.7.1",
  69. "file-loader": "6.2.0",
  70. "fonteditor-core": "2.4.0",
  71. "sass-loader": "13.0.2",
  72. "ts-loader": "9.3.1",
  73. "typescript": "4.9.4",
  74. "wawoff2": "2.0.1",
  75. "webpack": "5.76.0",
  76. "webpack-bundle-analyzer": "4.5.0",
  77. "webpack-cli": "4.10.0",
  78. "which": "4.0.0"
  79. },
  80. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  81. "repository": "https://github.com/excalidraw/excalidraw",
  82. "scripts": {
  83. "gen:types": "rm -rf types && tsc",
  84. "build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
  85. "build:esm": "rm -rf dist && node ../../scripts/buildUtils.js && yarn gen:types",
  86. "build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
  87. "pack": "yarn build:umd && yarn pack"
  88. }
  89. }