package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "um-react",
  3. "private": true,
  4. "version": "0.3.3",
  5. "type": "module",
  6. "scripts": {
  7. "start": "vite",
  8. "build": "tsc -p tsconfig.prod.json && vite build && pnpm build:finalize",
  9. "build:finalize": "node scripts/write-version.mjs && node scripts/minify-mjs.mjs",
  10. "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
  11. "format": "prettier -w .",
  12. "test": "vitest run",
  13. "test:ui": "vitest --ui",
  14. "test:coverage": "vitest run --coverage",
  15. "preview": "vite preview",
  16. "preview:coverage": "vite preview --outDir coverage --port 5175",
  17. "prepare": "simple-git-hooks"
  18. },
  19. "dependencies": {
  20. "@chakra-ui/anatomy": "^2.3.4",
  21. "@chakra-ui/icons": "^2.2.4",
  22. "@chakra-ui/react": "^2.10.4",
  23. "@emotion/react": "^11.14.0",
  24. "@emotion/styled": "^11.14.0",
  25. "@reduxjs/toolkit": "^2.5.0",
  26. "@unlock-music/crypto": "0.1.2",
  27. "framer-motion": "^11.14.4",
  28. "nanoid": "^5.0.9",
  29. "radash": "^12.1.0",
  30. "react": "^18.3.1",
  31. "react-dom": "^18.3.1",
  32. "react-dropzone": "^14.3.5",
  33. "react-icons": "^5.4.0",
  34. "react-promise-suspense": "^0.3.4",
  35. "react-redux": "^9.2.0",
  36. "react-syntax-highlighter": "^15.6.1",
  37. "sass": "^1.83.0",
  38. "sql.js": "^1.12.0"
  39. },
  40. "devDependencies": {
  41. "@rollup/plugin-replace": "^6.0.1",
  42. "@testing-library/jest-dom": "^6.6.3",
  43. "@testing-library/react": "^16.1.0",
  44. "@testing-library/user-event": "^14.5.2",
  45. "@types/node": "^22.10.2",
  46. "@types/react": "^18.3.16",
  47. "@types/react-dom": "^18.3.5",
  48. "@types/react-syntax-highlighter": "^15.5.13",
  49. "@types/sql.js": "^1.4.9",
  50. "@typescript-eslint/eslint-plugin": "^8.18.0",
  51. "@typescript-eslint/parser": "^8.18.0",
  52. "@vitejs/plugin-react": "^4.3.4",
  53. "@vitest/coverage-v8": "^2.1.8",
  54. "@vitest/ui": "^2.1.8",
  55. "eslint": "^8.57.1",
  56. "eslint-config-prettier": "^9.1.0",
  57. "eslint-plugin-react-hooks": "^4.6.2",
  58. "eslint-plugin-react-refresh": "^0.4.16",
  59. "husky": "^9.1.7",
  60. "jsdom": "^25.0.1",
  61. "lint-staged": "^15.2.11",
  62. "prettier": "^3.4.2",
  63. "rollup": "^4.28.1",
  64. "simple-git-hooks": "^2.11.1",
  65. "terser": "^5.37.0",
  66. "typescript": "^5.7.2",
  67. "vite": "^5.4.11",
  68. "vite-plugin-pwa": "^0.20.5",
  69. "vite-plugin-top-level-await": "^1.4.4",
  70. "vite-plugin-wasm": "^3.3.0",
  71. "vitest": "^2.1.8",
  72. "workbox-window": "^7.3.0"
  73. },
  74. "lint-staged": {
  75. "*": "prettier --write --ignore-unknown",
  76. "*.{js,jsx,ts,tsx}": "eslint --fix --report-unused-disable-directives --max-warnings 0"
  77. },
  78. "simple-git-hooks": {
  79. "pre-commit": "pnpm exec lint-staged",
  80. "pre-push": "pnpm test"
  81. },
  82. "prettier": {
  83. "singleQuote": true,
  84. "printWidth": 120,
  85. "tabWidth": 2
  86. },
  87. "pnpm": {
  88. "patchedDependencies": {
  89. "@rollup/plugin-terser": "patches/@rollup__plugin-terser.patch",
  90. "sql.js": "patches/sql.js.patch"
  91. },
  92. "overrides": {
  93. "rollup-plugin-terser": "npm:@rollup/plugin-terser@0.4.3",
  94. "sourcemap-codec": "npm:@jridgewell/sourcemap-codec@1.4.15"
  95. }
  96. },
  97. "packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
  98. }