package.json 1.5 KB

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