package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "excalidraw-app",
  3. "version": "1.0.0",
  4. "private": true,
  5. "homepage": ".",
  6. "browserslist": {
  7. "production": [
  8. ">0.2%",
  9. "not dead",
  10. "not ie <= 11",
  11. "not op_mini all",
  12. "not safari < 12",
  13. "not kaios <= 2.5",
  14. "not edge < 79",
  15. "not chrome < 70",
  16. "not and_uc < 13",
  17. "not samsung < 10"
  18. ],
  19. "development": [
  20. "last 1 chrome version",
  21. "last 1 firefox version",
  22. "last 1 safari version"
  23. ]
  24. },
  25. "engines": {
  26. "node": ">=18.0.0"
  27. },
  28. "dependencies": {
  29. "vite-plugin-html": "3.2.2"
  30. },
  31. "prettier": "@excalidraw/prettier-config",
  32. "scripts": {
  33. "build-node": "node ./scripts/build-node.js",
  34. "build:app:docker": "cross-env VITE_APP_DISABLE_SENTRY=true vite build",
  35. "build:app": "cross-env VITE_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA cross-env VITE_APP_ENABLE_TRACKING=true vite build",
  36. "build:version": "node ../scripts/build-version.js",
  37. "build": "yarn build:app && yarn build:version",
  38. "start": "yarn && vite",
  39. "start:production": "yarn build && yarn serve",
  40. "serve": "npx http-server build -a localhost -p 5001 -o",
  41. "build:preview": "yarn build && vite preview --port 5000"
  42. }
  43. }