1
0

package.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "@joystream/atlas",
  3. "description": "UI for consuming Joystream - a user governed video platform",
  4. "license": "GPL-3.0",
  5. "scripts": {
  6. "start": "vite",
  7. "dev": "vite",
  8. "build": "vite build",
  9. "storybook": "start-storybook -p 6006",
  10. "build-storybook": "build-storybook -o dist-storybook",
  11. "lint:ts": "eslint --ext .js,.jsx,.ts,.tsx --max-warnings 0 .",
  12. "lint:prettier": "prettier --check .",
  13. "lint:css": "stylelint --max-warnings 0 './src/**/*.{tsx,ts}'",
  14. "lint": "yarn lint:css && yarn lint:ts && yarn lint:prettier",
  15. "tokens:fetch": "node ./scripts/fetchTokens && prettier --write src/styles/tokens",
  16. "tokens:build": "style-dictionary build --config ./sd.config.js && prettier --write src/styles/generated/variables.ts",
  17. "tokens": "yarn tokens:fetch && yarn tokens:build",
  18. "svgs": "yarn svgs:icons && yarn svgs:illustrations",
  19. "svgs:illustrations-generate": "svgr --config-file svgr.config.js -d src/components/_illustrations src/components/_illustrations/svgs && prettier --write src/components/_illustrations",
  20. "svgs:illustrations-import": "node ./scripts/figma-import --illustrations",
  21. "svgs:illustrations": "yarn svgs:illustrations-import && yarn svgs:illustrations-generate",
  22. "svgs:icons-import": "node ./scripts/figma-import --icons",
  23. "svgs:icons-generate": "svgr --config-file svgr.config.js -d src/components/_icons src/components/_icons/svgs && prettier --write src/components/_icons",
  24. "svgs:icons": "yarn svgs:icons-import && yarn svgs:icons-generate",
  25. "graphql": "rimraf src/api/queries/__generated__ && DOTENV_CONFIG_PATH=\"./src/.env\" graphql-codegen --config codegen.config.yml -r dotenv/config",
  26. "test": "vitest run",
  27. "test:dev": "vitest dev",
  28. "madge:circular": "madge --circular ./src/* --ts-config ./tsconfig.json --extensions ts,tsx",
  29. "madge:unused": "madge --orphans ./src/* --ts-config ./tsconfig.json --extensions ts,tsx --exclude '.stories.tsx$'"
  30. },
  31. "dependencies": {
  32. "@apollo/client": "^3.6.7",
  33. "@emotion/react": "^11.9.3",
  34. "@emotion/styled": "^11.9.3",
  35. "@hookform/resolvers": "^2.9.1",
  36. "@joystream/metadata-protobuf": "2.2.0",
  37. "@joystream/types": "0.20.1",
  38. "@livesession/sdk": "^1.1.4",
  39. "@loadable/component": "^5.15.2",
  40. "@lottiefiles/react-lottie-player": "^3.4.7",
  41. "@polkadot/extension-dapp": "~0.44.1",
  42. "@sentry/react": "^7.1.1",
  43. "@talisman-connect/wallets": "^1.1.3",
  44. "@tippyjs/react": "^4.2.6",
  45. "awesome-debounce-promise": "^2.1.0",
  46. "axios": "^0.27.2",
  47. "bezier-easing": "^2.1.0",
  48. "bignumber.js": "^9.0.2",
  49. "blake3": "2.1.7",
  50. "bn.js": "^5.2.1",
  51. "buffer": "^5.7.1",
  52. "comlink": "^4.3.1",
  53. "cropperjs": "^1.5.12",
  54. "date-fns": "^2.28.0",
  55. "downshift": "^6.1.7",
  56. "emotion-normalize": "^11.0.1",
  57. "glider-js": "^1.7.7",
  58. "graphql": "^16.5.0",
  59. "graphql-tag": "^2.12.6",
  60. "haversine-distance": "^1.2.1",
  61. "history": "^5.3.0",
  62. "immer": "^9.0.15",
  63. "localforage": "^1.10.0",
  64. "lodash-es": "^4.17.21",
  65. "multihashes": "^4.0.3",
  66. "postcss-syntax": "^0.36.2",
  67. "rc-slider": "^10.0.0",
  68. "react": "^18.2.0",
  69. "react-datepicker": "^4.8.0",
  70. "react-dom": "^18.2.0",
  71. "react-dropzone": "^14.2.1",
  72. "react-helmet": "^6.1.0",
  73. "react-hook-form": "^7.32.0",
  74. "react-intersection-observer": "^9.2.2",
  75. "react-merge-refs": "^1.1.0",
  76. "react-number-format": "^4.9.3",
  77. "react-router": "^6.3.0",
  78. "react-router-dom": "^6.3.0",
  79. "react-spring": "^9.4.5",
  80. "react-textarea-autosize": "^8.3.4",
  81. "react-transition-group": "^4.4.2",
  82. "retry-axios": "^3.0.0",
  83. "scroll-lock": "^2.1.5",
  84. "subscriptions-transport-ws": "^0.11.0",
  85. "twemoji": "^14.0.2",
  86. "use-draggable-scroll": "^0.1.0",
  87. "use-resize-observer": "^9.0.0",
  88. "video.js": "^7.20.1",
  89. "zod": "^3.17.3",
  90. "zustand": "^3.7.2"
  91. },
  92. "devDependencies": {
  93. "@babel/core": "^7.18.5",
  94. "@emotion/babel-plugin": "^11.9.2",
  95. "@graphql-codegen/cli": "^2.6.2",
  96. "@graphql-codegen/introspection": "^2.1.1",
  97. "@graphql-codegen/near-operation-file-preset": "^2.2.14",
  98. "@graphql-codegen/typescript": "^2.5.1",
  99. "@graphql-codegen/typescript-operations": "^2.4.2",
  100. "@graphql-codegen/typescript-react-apollo": "^3.2.16",
  101. "@joystream/prettier-config": "^1.0.0",
  102. "@rollup/plugin-babel": "^5.3.1",
  103. "@rollup/plugin-inject": "^4.0.4",
  104. "@storybook/addon-actions": "6.4.18",
  105. "@storybook/addon-docs": "6.4.18",
  106. "@storybook/addon-essentials": "6.4.18",
  107. "@storybook/addon-links": "6.4.18",
  108. "@storybook/builder-vite": "0.1.36",
  109. "@storybook/react": "6.4.18",
  110. "@storybook/theming": "6.4.18",
  111. "@svgr/cli": "^6.2.1",
  112. "@testing-library/dom": "^8.13.0",
  113. "@testing-library/jest-dom": "^5.16.4",
  114. "@testing-library/react": "^13.3.0",
  115. "@types/glider-js": "^1.7.6",
  116. "@types/loadable__component": "^5.13.4",
  117. "@types/lodash-es": "^4.17.6",
  118. "@types/react": "^18.0.14",
  119. "@types/react-datepicker": "^4.4.2",
  120. "@types/react-dom": "^18.0.5",
  121. "@types/react-helmet": "^6.1.5",
  122. "@types/react-transition-group": "^4.4.4",
  123. "@types/scroll-lock": "^2.1.0",
  124. "@types/video.js": "^7.3.40",
  125. "@vitejs/plugin-react": "^1.3.2",
  126. "babel-loader": "^8.2.5",
  127. "esbuild-register": "^3.3.3",
  128. "happy-dom": "^4.1.0",
  129. "madge": "^5.0.1",
  130. "postcss-syntax": "^0.36.2",
  131. "react-hooks-testing-library": "^0.6.0",
  132. "rimraf": "^3.0.2",
  133. "rollup-plugin-visualizer": "^5.6.0",
  134. "style-dictionary": "^3.7.1",
  135. "vite": "^2.9.12",
  136. "vite-plugin-checker": "^0.4.6",
  137. "vitest": "^0.14.2"
  138. },
  139. "engines": {
  140. "node": "^16"
  141. }
  142. }