package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "@excalidraw/utils",
  3. "version": "0.1.2",
  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.18.9",
  59. "@babel/plugin-transform-arrow-functions": "7.18.6",
  60. "@babel/plugin-transform-async-to-generator": "7.18.6",
  61. "@babel/plugin-transform-runtime": "7.18.6",
  62. "@babel/plugin-transform-typescript": "7.18.8",
  63. "@babel/preset-env": "7.18.9",
  64. "@babel/preset-typescript": "7.18.6",
  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. "node-fetch": "3.3.2",
  72. "sass-loader": "13.0.2",
  73. "ts-loader": "9.3.1",
  74. "typescript": "4.9.4",
  75. "wawoff2": "2.0.1",
  76. "webpack": "5.76.0",
  77. "webpack-bundle-analyzer": "4.5.0",
  78. "webpack-cli": "4.10.0",
  79. "which": "4.0.0"
  80. },
  81. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  82. "repository": "https://github.com/excalidraw/excalidraw",
  83. "scripts": {
  84. "gen:types": "rm -rf types && tsc",
  85. "build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
  86. "build:esm": "rm -rf dist && node ../../scripts/buildUtils.js && yarn gen:types",
  87. "build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
  88. "pack": "yarn build:umd && yarn pack"
  89. }
  90. }