package.json 1.4 KB

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