package.json 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "um-react",
  3. "private": true,
  4. "version": "0.3.2",
  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": "husky install"
  18. },
  19. "dependencies": {
  20. "@chakra-ui/anatomy": "^2.2.2",
  21. "@chakra-ui/icons": "^2.1.1",
  22. "@chakra-ui/react": "^2.8.2",
  23. "@emotion/react": "^11.11.1",
  24. "@emotion/styled": "^11.11.0",
  25. "@reduxjs/toolkit": "^2.0.1",
  26. "@unlock-music/crypto": "0.1.0",
  27. "framer-motion": "^11.5.6",
  28. "nanoid": "^5.0.7",
  29. "radash": "^12.1.0",
  30. "react": "^18.3.1",
  31. "react-dom": "^18.3.1",
  32. "react-dropzone": "^14.2.3",
  33. "react-icons": "^5.3.0",
  34. "react-promise-suspense": "^0.3.4",
  35. "react-redux": "^9.1.2",
  36. "react-syntax-highlighter": "^15.5.0",
  37. "sass": "^1.79.3",
  38. "sql.js": "^1.11.0"
  39. },
  40. "devDependencies": {
  41. "@rollup/plugin-replace": "^6.0.1",
  42. "@testing-library/jest-dom": "^6.5.0",
  43. "@testing-library/react": "^16.0.1",
  44. "@testing-library/user-event": "^14.5.2",
  45. "@types/node": "^22.6.1",
  46. "@types/react": "^18.3.9",
  47. "@types/react-dom": "^18.3.0",
  48. "@types/react-syntax-highlighter": "^15.5.13",
  49. "@types/sql.js": "^1.4.9",
  50. "@typescript-eslint/eslint-plugin": "^8.7.0",
  51. "@typescript-eslint/parser": "^8.7.0",
  52. "@vitejs/plugin-react": "^4.3.1",
  53. "@vitest/coverage-v8": "^2.1.1",
  54. "@vitest/ui": "^2.1.1",
  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.12",
  59. "husky": "^9.1.6",
  60. "jsdom": "^25.0.1",
  61. "lint-staged": "^15.2.10",
  62. "prettier": "^3.3.3",
  63. "rollup": "^4.22.4",
  64. "terser": "^5.33.0",
  65. "typescript": "^5.6.2",
  66. "vite": "^5.4.7",
  67. "vite-plugin-pwa": "^0.20.5",
  68. "vite-plugin-top-level-await": "^1.4.4",
  69. "vite-plugin-wasm": "^3.3.0",
  70. "vitest": "^2.1.1",
  71. "workbox-window": "^7.1.0"
  72. },
  73. "lint-staged": {
  74. "*": "prettier --write --ignore-unknown",
  75. "*.{js,jsx,ts,tsx}": "eslint --fix --report-unused-disable-directives --max-warnings 0"
  76. },
  77. "prettier": {
  78. "singleQuote": true,
  79. "printWidth": 120,
  80. "tabWidth": 2
  81. },
  82. "pnpm": {
  83. "patchedDependencies": {
  84. "@rollup/plugin-terser": "patches/@rollup__plugin-terser.patch",
  85. "sql.js": "patches/sql.js.patch"
  86. },
  87. "overrides": {
  88. "rollup-plugin-terser": "npm:@rollup/plugin-terser@0.4.3",
  89. "sourcemap-codec": "npm:@jridgewell/sourcemap-codec@1.4.15"
  90. }
  91. },
  92. "packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
  93. }