package.json 1.6 KB

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