package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@excalidraw/element",
  3. "version": "0.18.0",
  4. "type": "module",
  5. "types": "./dist/types/element/src/index.d.ts",
  6. "main": "./dist/prod/index.js",
  7. "module": "./dist/prod/index.js",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/types/element/src/index.d.ts",
  11. "development": "./dist/dev/index.js",
  12. "production": "./dist/prod/index.js",
  13. "default": "./dist/prod/index.js"
  14. },
  15. "./*": {
  16. "types": "./dist/types/element/src/*.d.ts",
  17. "development": "./dist/dev/index.js",
  18. "production": "./dist/prod/index.js",
  19. "default": "./dist/prod/index.js"
  20. }
  21. },
  22. "files": [
  23. "dist/*"
  24. ],
  25. "description": "Excalidraw elements-related logic",
  26. "publishConfig": {
  27. "access": "public"
  28. },
  29. "license": "MIT",
  30. "keywords": [
  31. "excalidraw",
  32. "excalidraw-utils"
  33. ],
  34. "browserslist": {
  35. "production": [
  36. ">0.2%",
  37. "not dead",
  38. "not ie <= 11",
  39. "not op_mini all",
  40. "not safari < 12",
  41. "not kaios <= 2.5",
  42. "not edge < 79",
  43. "not chrome < 70",
  44. "not and_uc < 13",
  45. "not samsung < 10"
  46. ],
  47. "development": [
  48. "last 1 chrome version",
  49. "last 1 firefox version",
  50. "last 1 safari version"
  51. ]
  52. },
  53. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  54. "repository": "https://github.com/excalidraw/excalidraw",
  55. "scripts": {
  56. "gen:types": "rimraf types && tsc",
  57. "build:esm": "rimraf dist && node ../../scripts/buildBase.js && yarn gen:types"
  58. },
  59. "dependencies": {
  60. "@excalidraw/common": "0.18.0",
  61. "@excalidraw/math": "0.18.0"
  62. }
  63. }