package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "name": "@joystream/atlas",
  3. "description": "UI for consuming Joystream - a user governed video platform",
  4. "version": "3.3.4",
  5. "license": "GPL-3.0",
  6. "scripts": {
  7. "start": "vite",
  8. "dev": "vite",
  9. "build": "vite build",
  10. "storybook": "storybook dev -p 6006",
  11. "build-storybook": "storybook build -o dist-storybook",
  12. "lint:ts": "eslint --ext .js,.jsx,.ts,.tsx --max-warnings 0 .",
  13. "lint:prettier": "prettier --check .",
  14. "lint:css": "stylelint --max-warnings 0 './src/**/*.{tsx,ts}'",
  15. "lint": "yarn lint:css && yarn lint:ts && yarn lint:prettier",
  16. "tokens:fetch": "node ./scripts/fetchTokens && prettier --write src/styles/tokens",
  17. "tokens:build": "style-dictionary build --config ./sd.config.js && prettier --write src/styles/generated/variables.ts",
  18. "tokens": "yarn tokens:fetch && yarn tokens:build",
  19. "svgs": "yarn svgs:icons && yarn svgs:illustrations && yarn svgs:logos",
  20. "svgs:illustrations-generate": "svgr --config-file svgr.config.js -d src/assets/illustrations src/assets/illustrations/svgs && prettier --write src/assets/illustrations",
  21. "svgs:illustrations-import": "node ./scripts/figma-import --illustrations",
  22. "svgs:illustrations": "yarn svgs:illustrations-import && yarn svgs:illustrations-generate",
  23. "svgs:icons-import": "node ./scripts/figma-import --icons",
  24. "svgs:icons-generate": "svgr --config-file svgr.config.js -d src/assets/icons src/assets/icons/svgs && prettier --write src/assets/icons",
  25. "svgs:icons": "yarn svgs:icons-import && yarn svgs:icons-generate",
  26. "svgs:logos": "svgr --config-file svgr.config.js -d src/assets/logos src/assets/logos/svgs && prettier --write src/assets/logos",
  27. "lint:post-codegen": "stylelint --max-warnings 0 './src/**/*generated.{tsx,ts}' && prettier --write src/**/*generated.{tsx,ts}",
  28. "graphql": "rimraf src/api/queries/__generated__ && DOTENV_CONFIG_PATH=\"./src/.env\" graphql-codegen --config codegen.config.yml -r dotenv/config && yarn lint:post-codegen",
  29. "test": "vitest run",
  30. "test:dev": "vitest dev",
  31. "madge:circular": "madge --circular ./src/* --ts-config ./tsconfig.json --extensions ts,tsx",
  32. "madge:unused": "madge --orphans ./src/* --ts-config ./tsconfig.json --extensions ts,tsx --exclude '.stories.tsx$'"
  33. },
  34. "dependencies": {
  35. "@apollo/client": "^3.7.2",
  36. "@emotion/react": "^11.10.5",
  37. "@emotion/styled": "^11.10.5",
  38. "@hcaptcha/react-hcaptcha": "^1.4.4",
  39. "@hookform/resolvers": "^2.9.10",
  40. "@joystream/js": "^1.4.0",
  41. "@joystream/metadata-protobuf": "2.8.1",
  42. "@joystream/types": "2.1.0",
  43. "@livesession/sdk": "^1.1.4",
  44. "@loadable/component": "^5.15.2",
  45. "@lottiefiles/react-lottie-player": "^3.5.0",
  46. "@segment/analytics-next": "^1.53.0",
  47. "@sentry/react": "^7.53.1",
  48. "@talismn/connect-wallets": "^1.2.1",
  49. "@tippyjs/react": "^4.2.6",
  50. "aos": "^2.3.4",
  51. "awesome-debounce-promise": "^2.1.0",
  52. "axios": "^1.2.1",
  53. "bezier-easing": "^2.1.0",
  54. "blake3": "2.1.7",
  55. "bn.js": "^5.2.1",
  56. "buffer": "^6.0.3",
  57. "comlink": "^4.3.1",
  58. "cropperjs": "^1.5.13",
  59. "date-fns": "^2.29.3",
  60. "downshift": "^7.0.4",
  61. "graphql": "^16.6.0",
  62. "graphql-tag": "^2.12.6",
  63. "haversine-distance": "^1.2.1",
  64. "history": "^5.3.0",
  65. "immer": "^9.0.16",
  66. "localforage": "^1.10.0",
  67. "lodash-es": "^4.17.21",
  68. "multihashes": "^4.0.3",
  69. "postcss-syntax": "^0.36.2",
  70. "rc-slider": "^10.1.0",
  71. "react": "^18.2.0",
  72. "react-datepicker": "^4.8.0",
  73. "react-dom": "^18.2.0",
  74. "react-dropzone": "^14.2.3",
  75. "react-helmet": "^6.1.0",
  76. "react-hook-form": "^7.40.0",
  77. "react-intersection-observer": "^9.4.1",
  78. "react-markdown": "^8.0.4",
  79. "react-merge-refs": "^2.0.1",
  80. "react-number-format": "^5.1.2",
  81. "react-popper": "^2.3.0",
  82. "react-query": "^3.39.2",
  83. "react-router": "^6.4.5",
  84. "react-router-dom": "^6.4.5",
  85. "react-scroll-parallax": "^3.3.1",
  86. "react-spring": "^9.6.0",
  87. "react-table": "^7.8.0",
  88. "react-textarea-autosize": "^8.4.0",
  89. "react-transition-group": "^4.4.5",
  90. "retry-axios": "^3.0.0",
  91. "scroll-lock": "^2.1.5",
  92. "subscriptions-transport-ws": "^0.11.0",
  93. "swiper": "^9.1.1",
  94. "twemoji": "^14.0.2",
  95. "use-draggable-scroll": "^0.1.0",
  96. "use-resize-observer": "^9.1.0",
  97. "video.js": "^7.21.1",
  98. "zod": "^3.20.2",
  99. "zustand": "^3.7.2"
  100. },
  101. "devDependencies": {
  102. "@emotion/babel-plugin": "^11.10.5",
  103. "@graphql-codegen/cli": "^2.16.1",
  104. "@graphql-codegen/introspection": "^2.2.3",
  105. "@graphql-codegen/near-operation-file-preset": "^2.4.4",
  106. "@graphql-codegen/typescript": "^2.8.5",
  107. "@graphql-codegen/typescript-operations": "^2.5.10",
  108. "@graphql-codegen/typescript-react-apollo": "^3.3.7",
  109. "@joystream/prettier-config": "^1.0.0",
  110. "@modyfi/vite-plugin-yaml": "^1.0.3",
  111. "@rollup/plugin-babel": "^6.0.3",
  112. "@storybook/addon-actions": "7.0.7",
  113. "@storybook/addon-docs": "7.0.7",
  114. "@storybook/addon-essentials": "7.0.7",
  115. "@storybook/addon-links": "7.0.7",
  116. "@storybook/addons": "7.0.7",
  117. "@storybook/react-vite": "7.0.7",
  118. "@storybook/theming": "7.0.7",
  119. "@svgr/cli": "^6.5.1",
  120. "@testing-library/dom": "^8.19.0",
  121. "@testing-library/jest-dom": "^5.16.5",
  122. "@testing-library/react": "^13.4.0",
  123. "@types/aos": "^3.0.4",
  124. "@types/bn.js": "^5.1.1",
  125. "@types/js-yaml": "^4.0.5",
  126. "@types/loadable__component": "^5.13.4",
  127. "@types/lodash-es": "^4.17.6",
  128. "@types/react": "^18.0.26",
  129. "@types/react-datepicker": "^4.8.0",
  130. "@types/react-dom": "^18.0.9",
  131. "@types/react-helmet": "^6.1.6",
  132. "@types/react-table": "^7",
  133. "@types/react-transition-group": "^4.4.5",
  134. "@types/scroll-lock": "^2.1.0",
  135. "@types/video.js": "^7.3.50",
  136. "@vitejs/plugin-react": "^3.0.0",
  137. "happy-dom": "^8.1.0",
  138. "js-yaml": "^4.1.0",
  139. "madge": "^5.0.1",
  140. "postcss-syntax": "^0.36.2",
  141. "react-ga": "^3.3.1",
  142. "react-hooks-testing-library": "^0.6.0",
  143. "rimraf": "^3.0.2",
  144. "rollup-plugin-visualizer": "^5.8.3",
  145. "storybook": "7.0.7",
  146. "style-dictionary": "^3.7.1",
  147. "vite": "^4.3.9",
  148. "vite-plugin-checker": "^0.5.2",
  149. "vitest": "^0.25.7"
  150. },
  151. "engines": {
  152. "node": "^16"
  153. }
  154. }