Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

package.json 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "browserslist": {
  3. "production": [
  4. ">0.2%",
  5. "not dead",
  6. "not ie <= 11",
  7. "not op_mini all",
  8. "not safari < 12",
  9. "not kaios <= 2.5",
  10. "not edge < 79",
  11. "not chrome < 70",
  12. "not and_uc < 13",
  13. "not samsung < 10"
  14. ],
  15. "development": [
  16. "last 1 chrome version",
  17. "last 1 firefox version",
  18. "last 1 safari version"
  19. ]
  20. },
  21. "dependencies": {
  22. "@dwelle/browser-fs-access": "0.21.3",
  23. "@sentry/browser": "6.2.5",
  24. "@sentry/integrations": "6.2.5",
  25. "@testing-library/jest-dom": "5.11.10",
  26. "@testing-library/react": "11.2.6",
  27. "@tldraw/vec": "0.0.106",
  28. "@types/jest": "26.0.22",
  29. "@types/react": "17.0.3",
  30. "@types/react-dom": "17.0.3",
  31. "@types/socket.io-client": "1.4.36",
  32. "clsx": "1.1.1",
  33. "firebase": "8.3.3",
  34. "i18next-browser-languagedetector": "6.1.0",
  35. "lodash.throttle": "4.1.1",
  36. "nanoid": "3.1.22",
  37. "open-color": "1.8.0",
  38. "pako": "1.0.11",
  39. "perfect-freehand": "1.0.15",
  40. "png-chunk-text": "1.0.0",
  41. "png-chunks-encode": "1.0.0",
  42. "png-chunks-extract": "1.0.0",
  43. "points-on-curve": "0.2.0",
  44. "pwacompat": "2.0.17",
  45. "react": "17.0.2",
  46. "react-dom": "17.0.2",
  47. "react-scripts": "4.0.3",
  48. "roughjs": "4.4.1",
  49. "sass": "1.32.10",
  50. "socket.io-client": "2.3.1",
  51. "typescript": "4.2.4"
  52. },
  53. "devDependencies": {
  54. "@excalidraw/eslint-config": "1.0.0",
  55. "@excalidraw/prettier-config": "1.0.2",
  56. "@types/lodash.throttle": "4.1.6",
  57. "@types/pako": "1.0.1",
  58. "@types/resize-observer-browser": "0.1.5",
  59. "eslint-config-prettier": "8.3.0",
  60. "eslint-plugin-prettier": "3.3.1",
  61. "firebase-tools": "9.9.0",
  62. "husky": "4.3.8",
  63. "jest-canvas-mock": "2.3.1",
  64. "lint-staged": "10.5.4",
  65. "pepjs": "0.5.3",
  66. "prettier": "2.2.1",
  67. "rewire": "5.0.0"
  68. },
  69. "engines": {
  70. "node": ">=14.0.0"
  71. },
  72. "homepage": ".",
  73. "husky": {
  74. "hooks": {
  75. "pre-commit": "lint-staged"
  76. }
  77. },
  78. "jest": {
  79. "transformIgnorePatterns": [
  80. "node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|@dwelle/browser-fs-access)/)"
  81. ],
  82. "resetMocks": false
  83. },
  84. "name": "excalidraw",
  85. "prettier": "@excalidraw/prettier-config",
  86. "private": true,
  87. "scripts": {
  88. "build-node": "node ./scripts/build-node.js",
  89. "build:app:docker": "REACT_APP_DISABLE_SENTRY=true react-scripts build",
  90. "build:app": "REACT_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA react-scripts build",
  91. "build:version": "node ./scripts/build-version.js",
  92. "build": "yarn build:app && yarn build:version",
  93. "eject": "react-scripts eject",
  94. "fix:code": "yarn test:code --fix",
  95. "fix:other": "yarn prettier --write",
  96. "fix": "yarn fix:other && yarn fix:code",
  97. "locales-coverage": "node scripts/build-locales-coverage.js",
  98. "locales-coverage:description": "node scripts/locales-coverage-description.js",
  99. "prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
  100. "start": "react-scripts start",
  101. "test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watchAll=false",
  102. "test:app": "react-scripts test --passWithNoTests",
  103. "test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
  104. "test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
  105. "test:other": "yarn prettier --list-different",
  106. "test:typecheck": "tsc",
  107. "test:update": "yarn test:app --updateSnapshot --watchAll=false",
  108. "test": "yarn test:app",
  109. "autorelease": "node scripts/autorelease.js"
  110. }
  111. }