package.json 1.6 KB

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