package.json 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "private": true,
  3. "name": "excalidraw-monorepo",
  4. "workspaces": [
  5. "excalidraw-app",
  6. "packages/excalidraw",
  7. "packages/utils",
  8. "examples/excalidraw",
  9. "examples/excalidraw/*"
  10. ],
  11. "dependencies": {
  12. "@excalidraw/random-username": "1.0.0",
  13. "@sentry/browser": "6.2.5",
  14. "@sentry/integrations": "6.2.5",
  15. "firebase": "8.3.3",
  16. "i18next-browser-languagedetector": "6.1.4",
  17. "idb-keyval": "6.0.3",
  18. "jotai": "1.13.1",
  19. "react": "18.2.0",
  20. "react-dom": "18.2.0",
  21. "socket.io-client": "4.7.2"
  22. },
  23. "devDependencies": {
  24. "@excalidraw/eslint-config": "1.0.3",
  25. "@excalidraw/prettier-config": "1.0.2",
  26. "@types/chai": "4.3.0",
  27. "@types/jest": "27.4.0",
  28. "@types/lodash.throttle": "4.1.7",
  29. "@types/react": "18.0.15",
  30. "@types/react-dom": "18.0.6",
  31. "@types/socket.io-client": "3.0.0",
  32. "@vitejs/plugin-react": "3.1.0",
  33. "@vitest/coverage-v8": "0.33.0",
  34. "@vitest/ui": "0.32.2",
  35. "chai": "4.3.6",
  36. "dotenv": "16.0.1",
  37. "eslint-config-prettier": "8.5.0",
  38. "eslint-config-react-app": "7.0.1",
  39. "eslint-plugin-prettier": "3.3.1",
  40. "http-server": "14.1.1",
  41. "husky": "7.0.4",
  42. "jsdom": "22.1.0",
  43. "lint-staged": "12.3.7",
  44. "pepjs": "0.5.3",
  45. "prettier": "2.6.2",
  46. "rewire": "6.0.0",
  47. "typescript": "4.9.4",
  48. "vite": "5.0.12",
  49. "vite-plugin-checker": "0.6.1",
  50. "vite-plugin-ejs": "1.7.0",
  51. "vite-plugin-pwa": "0.17.4",
  52. "vite-plugin-svgr": "2.4.0",
  53. "vitest": "1.0.1",
  54. "vitest-canvas-mock": "0.3.2"
  55. },
  56. "engines": {
  57. "node": "18.0.0 - 20.x.x"
  58. },
  59. "homepage": ".",
  60. "prettier": "@excalidraw/prettier-config",
  61. "scripts": {
  62. "build-node": "node ./scripts/build-node.js",
  63. "build:app:docker": "cross-env VITE_APP_DISABLE_SENTRY=true VITE_APP_DISABLE_TRACKING=true vite build",
  64. "build:app": "cross-env VITE_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA vite build",
  65. "build:version": "node ./scripts/build-version.js",
  66. "build": "yarn --cwd ./excalidraw-app build",
  67. "fix:code": "yarn test:code --fix",
  68. "fix:other": "yarn prettier --write",
  69. "fix": "yarn fix:other && yarn fix:code",
  70. "locales-coverage": "node scripts/build-locales-coverage.js",
  71. "locales-coverage:description": "node scripts/locales-coverage-description.js",
  72. "prepare": "husky install",
  73. "prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
  74. "start": "yarn --cwd ./excalidraw-app start",
  75. "start:app:production": "npm run build && npx http-server build -a localhost -p 5001 -o",
  76. "test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watch=false",
  77. "test:app": "vitest",
  78. "test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
  79. "test:other": "yarn prettier --list-different",
  80. "test:typecheck": "tsc",
  81. "test:update": "yarn test:app --update --watch=false",
  82. "test": "yarn test:app",
  83. "test:coverage": "vitest --coverage",
  84. "test:coverage:watch": "vitest --coverage --watch",
  85. "test:ui": "yarn test --ui --coverage.enabled=true",
  86. "autorelease": "node scripts/autorelease.js",
  87. "prerelease:excalidraw": "node scripts/prerelease.js",
  88. "build:preview": "yarn build && vite preview --port 5000",
  89. "release:excalidraw": "node scripts/release.js"
  90. }
  91. }