package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "name": "@joystream/atlas",
  3. "description": "UI for consuming Joystream - a user governed video platform",
  4. "version": "2.1.0",
  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": "0.20.5",
  43. "@livesession/sdk": "^1.1.4",
  44. "@loadable/component": "^5.15.2",
  45. "@lottiefiles/react-lottie-player": "^3.5.0",
  46. "@sentry/react": "^7.47.0",
  47. "@talismn/connect-wallets": "^1.2.1",
  48. "@tippyjs/react": "^4.2.6",
  49. "aos": "^2.3.4",
  50. "awesome-debounce-promise": "^2.1.0",
  51. "axios": "^1.2.1",
  52. "bezier-easing": "^2.1.0",
  53. "blake3": "2.1.7",
  54. "bn.js": "^5.2.1",
  55. "buffer": "^6.0.3",
  56. "comlink": "^4.3.1",
  57. "cropperjs": "^1.5.13",
  58. "date-fns": "^2.29.3",
  59. "downshift": "^7.0.4",
  60. "graphql": "^16.6.0",
  61. "graphql-tag": "^2.12.6",
  62. "haversine-distance": "^1.2.1",
  63. "history": "^5.3.0",
  64. "immer": "^9.0.16",
  65. "localforage": "^1.10.0",
  66. "lodash-es": "^4.17.21",
  67. "multihashes": "^4.0.3",
  68. "postcss-syntax": "^0.36.2",
  69. "rc-slider": "^10.1.0",
  70. "react": "^18.2.0",
  71. "react-datepicker": "^4.8.0",
  72. "react-dom": "^18.2.0",
  73. "react-dropzone": "^14.2.3",
  74. "react-helmet": "^6.1.0",
  75. "react-hook-form": "^7.40.0",
  76. "react-intersection-observer": "^9.4.1",
  77. "react-markdown": "^8.0.4",
  78. "react-merge-refs": "^2.0.1",
  79. "react-number-format": "^5.1.2",
  80. "react-popper": "^2.3.0",
  81. "react-query": "^3.39.2",
  82. "react-router": "^6.4.5",
  83. "react-router-dom": "^6.4.5",
  84. "react-scroll-parallax": "^3.3.1",
  85. "react-spring": "^9.6.0",
  86. "react-table": "^7.8.0",
  87. "react-textarea-autosize": "^8.4.0",
  88. "react-transition-group": "^4.4.5",
  89. "retry-axios": "^3.0.0",
  90. "scroll-lock": "^2.1.5",
  91. "subscriptions-transport-ws": "^0.11.0",
  92. "swiper": "^9.1.1",
  93. "twemoji": "^14.0.2",
  94. "use-draggable-scroll": "^0.1.0",
  95. "use-resize-observer": "^9.1.0",
  96. "video.js": "^7.21.1",
  97. "zod": "^3.20.2",
  98. "zustand": "^3.7.2"
  99. },
  100. "devDependencies": {
  101. "@emotion/babel-plugin": "^11.10.5",
  102. "@graphql-codegen/cli": "^2.16.1",
  103. "@graphql-codegen/introspection": "^2.2.3",
  104. "@graphql-codegen/near-operation-file-preset": "^2.4.4",
  105. "@graphql-codegen/typescript": "^2.8.5",
  106. "@graphql-codegen/typescript-operations": "^2.5.10",
  107. "@graphql-codegen/typescript-react-apollo": "^3.3.7",
  108. "@joystream/prettier-config": "^1.0.0",
  109. "@modyfi/vite-plugin-yaml": "^1.0.3",
  110. "@rollup/plugin-babel": "^6.0.3",
  111. "@storybook/addon-actions": "7.0.0-beta.6",
  112. "@storybook/addon-docs": "7.0.0-beta.6",
  113. "@storybook/addon-essentials": "7.0.0-beta.6",
  114. "@storybook/addon-links": "7.0.0-beta.6",
  115. "@storybook/addons": "7.0.0-beta.6",
  116. "@storybook/react-vite": "7.0.0-beta.6",
  117. "@storybook/theming": "7.0.0-beta.6",
  118. "@svgr/cli": "^6.5.1",
  119. "@testing-library/dom": "^8.19.0",
  120. "@testing-library/jest-dom": "^5.16.5",
  121. "@testing-library/react": "^13.4.0",
  122. "@types/aos": "^3.0.4",
  123. "@types/bn.js": "^5.1.1",
  124. "@types/js-yaml": "^4.0.5",
  125. "@types/loadable__component": "^5.13.4",
  126. "@types/lodash-es": "^4.17.6",
  127. "@types/react": "^18.0.26",
  128. "@types/react-datepicker": "^4.8.0",
  129. "@types/react-dom": "^18.0.9",
  130. "@types/react-helmet": "^6.1.6",
  131. "@types/react-table": "^7",
  132. "@types/react-transition-group": "^4.4.5",
  133. "@types/scroll-lock": "^2.1.0",
  134. "@types/video.js": "^7.3.50",
  135. "@vitejs/plugin-react": "^3.0.0",
  136. "happy-dom": "^8.1.0",
  137. "js-yaml": "^4.1.0",
  138. "madge": "^5.0.1",
  139. "postcss-syntax": "^0.36.2",
  140. "react-hooks-testing-library": "^0.6.0",
  141. "rimraf": "^3.0.2",
  142. "rollup-plugin-visualizer": "^5.8.3",
  143. "storybook": "7.0.0-beta.3",
  144. "style-dictionary": "^3.7.1",
  145. "vite": "^4.0.1",
  146. "vite-plugin-checker": "^0.5.2",
  147. "vitest": "^0.25.7"
  148. },
  149. "engines": {
  150. "node": "^16"
  151. }
  152. }