Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

package.json 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. "@sentry/browser": "6.2.5",
  23. "@sentry/integrations": "6.2.5",
  24. "@testing-library/jest-dom": "5.15.0",
  25. "@testing-library/react": "12.1.2",
  26. "@tldraw/vec": "0.1.3",
  27. "@types/jest": "27.0.2",
  28. "@types/pica": "5.1.3",
  29. "@types/react": "17.0.34",
  30. "@types/react-dom": "17.0.11",
  31. "@types/socket.io-client": "1.4.36",
  32. "browser-fs-access": "0.21.1",
  33. "clsx": "1.1.1",
  34. "fake-indexeddb": "3.1.7",
  35. "firebase": "8.3.3",
  36. "i18next-browser-languagedetector": "6.1.2",
  37. "idb-keyval": "6.0.3",
  38. "image-blob-reduce": "3.0.1",
  39. "lodash.throttle": "4.1.1",
  40. "nanoid": "3.1.30",
  41. "open-color": "1.9.1",
  42. "pako": "1.0.11",
  43. "perfect-freehand": "1.0.16",
  44. "png-chunk-text": "1.0.0",
  45. "png-chunks-encode": "1.0.0",
  46. "png-chunks-extract": "1.0.0",
  47. "points-on-curve": "0.2.0",
  48. "pwacompat": "2.0.17",
  49. "react": "17.0.2",
  50. "react-dom": "17.0.2",
  51. "react-scripts": "4.0.3",
  52. "roughjs": "4.5.0",
  53. "sass": "1.43.4",
  54. "socket.io-client": "2.3.1",
  55. "typescript": "4.4.4"
  56. },
  57. "devDependencies": {
  58. "@excalidraw/eslint-config": "1.0.0",
  59. "@excalidraw/prettier-config": "1.0.2",
  60. "@types/chai": "4.2.22",
  61. "@types/lodash.throttle": "4.1.6",
  62. "@types/pako": "1.0.2",
  63. "@types/resize-observer-browser": "0.1.6",
  64. "@types/web": "0.0.47",
  65. "chai": "4.3.4",
  66. "eslint-config-prettier": "8.3.0",
  67. "eslint-plugin-prettier": "3.3.1",
  68. "firebase-tools": "9.22.0",
  69. "husky": "7.0.4",
  70. "jest-canvas-mock": "2.3.1",
  71. "lint-staged": "12.0.1",
  72. "pepjs": "0.5.3",
  73. "prettier": "2.4.1",
  74. "rewire": "5.0.0"
  75. },
  76. "resolutions": {
  77. "@typescript-eslint/typescript-estree": "5.3.0"
  78. },
  79. "engines": {
  80. "node": ">=14.0.0"
  81. },
  82. "homepage": ".",
  83. "jest": {
  84. "transformIgnorePatterns": [
  85. "node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)"
  86. ],
  87. "resetMocks": false
  88. },
  89. "name": "excalidraw",
  90. "prettier": "@excalidraw/prettier-config",
  91. "private": true,
  92. "scripts": {
  93. "build-node": "node ./scripts/build-node.js",
  94. "build:app:docker": "REACT_APP_DISABLE_SENTRY=true react-scripts build",
  95. "build:app": "REACT_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA react-scripts build",
  96. "build:version": "node ./scripts/build-version.js",
  97. "build": "yarn build:app && yarn build:version",
  98. "eject": "react-scripts eject",
  99. "fix:code": "yarn test:code --fix",
  100. "fix:other": "yarn prettier --write",
  101. "fix": "yarn fix:other && yarn fix:code",
  102. "locales-coverage": "node scripts/build-locales-coverage.js",
  103. "locales-coverage:description": "node scripts/locales-coverage-description.js",
  104. "prepare": "husky install",
  105. "prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
  106. "start": "react-scripts start",
  107. "test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watchAll=false",
  108. "test:app": "react-scripts test --passWithNoTests",
  109. "test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
  110. "test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
  111. "test:other": "yarn prettier --list-different",
  112. "test:typecheck": "tsc",
  113. "test:update": "yarn test:app --updateSnapshot --watchAll=false",
  114. "test": "yarn test:app",
  115. "autorelease": "node scripts/autorelease.js"
  116. }
  117. }