package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@excalidraw/common",
  3. "version": "0.1.0",
  4. "type": "module",
  5. "types": "./dist/types/common/index.d.ts",
  6. "main": "./dist/prod/index.js",
  7. "module": "./dist/prod/index.js",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/types/common/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": "./../common/dist/types/common/*"
  17. }
  18. },
  19. "files": [
  20. "dist/*"
  21. ],
  22. "description": "Excalidraw common functions, constants, etc.",
  23. "publishConfig": {
  24. "access": "public"
  25. },
  26. "license": "MIT",
  27. "keywords": [
  28. "excalidraw",
  29. "excalidraw-utils"
  30. ],
  31. "browserslist": {
  32. "production": [
  33. ">0.2%",
  34. "not dead",
  35. "not ie <= 11",
  36. "not op_mini all",
  37. "not safari < 12",
  38. "not kaios <= 2.5",
  39. "not edge < 79",
  40. "not chrome < 70",
  41. "not and_uc < 13",
  42. "not samsung < 10"
  43. ],
  44. "development": [
  45. "last 1 chrome version",
  46. "last 1 firefox version",
  47. "last 1 safari version"
  48. ]
  49. },
  50. "dependencies": {
  51. "es6-promise-pool": "2.5.0",
  52. "nanoid": "3.3.3",
  53. "open-color": "1.9.1",
  54. "roughjs": "4.6.4"
  55. },
  56. "devDependencies": {
  57. "typescript": "4.9.4"
  58. },
  59. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  60. "repository": "https://github.com/excalidraw/excalidraw",
  61. "scripts": {
  62. "gen:types": "rm -rf types && tsc",
  63. "build:esm": "rm -rf dist && node ../../scripts/buildBase.js && yarn gen:types"
  64. }
  65. }