package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@excalidraw/utils",
  3. "version": "0.1.0",
  4. "main": "dist/excalidraw-utils.min.js",
  5. "files": [
  6. "dist/*"
  7. ],
  8. "description": "Excalidraw utilities functions",
  9. "publishConfig": {
  10. "access": "public"
  11. },
  12. "license": "MIT",
  13. "keywords": [
  14. "excalidraw",
  15. "excalidraw-utils"
  16. ],
  17. "browserslist": {
  18. "production": [
  19. ">0.2%",
  20. "not dead",
  21. "not ie <= 11",
  22. "not op_mini all",
  23. "not safari < 12",
  24. "not kaios <= 2.5",
  25. "not edge < 79",
  26. "not chrome < 70",
  27. "not and_uc < 13",
  28. "not samsung < 10"
  29. ],
  30. "development": [
  31. "last 1 chrome version",
  32. "last 1 firefox version",
  33. "last 1 safari version"
  34. ]
  35. },
  36. "devDependencies": {
  37. "@babel/core": "7.12.10",
  38. "@babel/plugin-transform-arrow-functions": "7.12.1",
  39. "@babel/plugin-transform-async-to-generator": "7.12.1",
  40. "@babel/plugin-transform-runtime": "^7.12.10",
  41. "@babel/plugin-transform-typescript": "7.12.1",
  42. "@babel/preset-env": "7.12.10",
  43. "@babel/preset-typescript": "7.12.7",
  44. "babel-loader": "8.2.2",
  45. "babel-plugin-transform-class-properties": "6.24.1",
  46. "cross-env": "7.0.3",
  47. "file-loader": "6.2.0",
  48. "ts-loader": "8.0.12",
  49. "webpack": "5.10.1",
  50. "webpack-bundle-analyzer": "4.2.0",
  51. "webpack-cli": "4.2.0"
  52. },
  53. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  54. "repository": "https://github.com/excalidraw/excalidraw",
  55. "scripts": {
  56. "build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
  57. "build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
  58. "pack": "npm run build:umd && npm pack"
  59. }
  60. }