package.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. {
  2. "name": "atlas-app",
  3. "description": "UI for consuming Joystream - a user governed video platform",
  4. "license": "GPL-3.0",
  5. "directories": {
  6. "src": "src"
  7. },
  8. "files": [
  9. "src"
  10. ],
  11. "repository": {
  12. "type": "git",
  13. "url": "https://github.com/Joystream/joystream.git"
  14. },
  15. "bugs": {
  16. "url": "https://github.com/Joystream/joystream/issues"
  17. },
  18. "scripts": {
  19. "bundle-stats": "webpack-bundle-analyzer dist/bundle-stats.json -m static -r dist/stats.html",
  20. "start": "react-app-rewired start",
  21. "dev": "yarn start",
  22. "build": "react-app-rewired build --stats && yarn bundle-stats",
  23. "eject": "react-app-rewired eject",
  24. "lint:ts": "eslint --ext .js,.jsx,.ts,.tsx .",
  25. "lint:prettier": "prettier --check .",
  26. "lint:css": "stylelint './src/**/*.{tsx,ts}'",
  27. "lint": "yarn lint:css && yarn lint:ts && yarn lint:prettier",
  28. "storybook": "start-storybook -p 6006 -s public",
  29. "build-storybook": "build-storybook -s public",
  30. "mocking:videos": "node scripts/mocking/generateVideos.js",
  31. "mocking:videosMedia": "node scripts/mocking/generateVideosMedia.js",
  32. "mocking:memberships": "node scripts/mocking/generateMemberships.js",
  33. "mocking:channels": "node scripts/mocking/generateChannels.js",
  34. "codegen:graphql": "graphql-codegen --config codegen.config.yml",
  35. "codegen:graphql-watch": "yarn codegen:graphql --watch",
  36. "codegen:icons": "svgr --config-file svgr.config.js -d src/shared/icons src/shared/icons/svgs",
  37. "codegen:illustrations": "svgr --config-file svgr.config.js -d src/shared/illustrations src/shared/illustrations/svgs",
  38. "codegen:svgs": "yarn codegen:illustrations && yarn codegen:icons",
  39. "postinstall": "patch-package"
  40. },
  41. "lint-staged": {
  42. "*.{ts,tsx,js,jsx,json}": [
  43. "prettier --write"
  44. ]
  45. },
  46. "dependencies": {
  47. "@apollo/client": "^3.3.0",
  48. "@emotion/react": "~11.0.0",
  49. "@emotion/styled": "~11.0.0",
  50. "@joystream/content-metadata-protobuf": "~1.1.0",
  51. "@joystream/prettier-config": "^1.0.0",
  52. "@joystream/types": "~0.16.1",
  53. "@loadable/component": "^5.14.1",
  54. "@polkadot/extension-dapp": "~0.37.3-17",
  55. "@sentry/integrations": "^6.3.5",
  56. "@sentry/react": "^6.3.5",
  57. "@tippyjs/react": "^4.2.5",
  58. "apollo": "^2.30.2",
  59. "awesome-debounce-promise": "^2.1.0",
  60. "axios": "^0.21.1",
  61. "bn.js": "^4.12.0",
  62. "body-scroll-lock": "^3.1.5",
  63. "cropperjs": "^1.5.10",
  64. "customize-cra": "^1.0.0",
  65. "date-fns": "^2.15.0",
  66. "downshift": "^6.1.0",
  67. "emotion-normalize": "~11.0.0",
  68. "glider-js": "^1.7.3",
  69. "graphql": "^15.3.0",
  70. "graphql-tag": "^2.11.0",
  71. "graphql-tools": "^7.0.2",
  72. "history": "^5.0.0",
  73. "immer": "^9.0.3",
  74. "ipfs-only-hash": "^2.1.0",
  75. "lodash": "^4.17.19",
  76. "msw": "^0.27.0",
  77. "prettier": "^2.0.5",
  78. "rc-slider": "^9.7.1",
  79. "react": "^16.13.1",
  80. "react-dom": "^16.13.1",
  81. "react-dropzone": "^11.3.1",
  82. "react-hook-form": "^7.8.1",
  83. "react-intersection-observer": "^8.31.0",
  84. "react-lottie-player": "^1.3.2",
  85. "react-number-format": "^4.4.4",
  86. "react-router": "^6.0.0-beta.0",
  87. "react-router-dom": "^6.0.0-beta.0",
  88. "react-spring": "^8.0.27",
  89. "react-transition-group": "^4.4.1",
  90. "react-use-measure": "^2.0.4",
  91. "retry-axios": "^2.4.0",
  92. "subscriptions-transport-ws": "^0.9.18",
  93. "use-resize-observer": "^7.0.0",
  94. "video.js": "^7.8.3",
  95. "zustand": "^3.5.2"
  96. },
  97. "devDependencies": {
  98. "@emotion/babel-plugin": "~11.0.0",
  99. "@emotion/eslint-plugin": "^11.2.0",
  100. "@graphql-codegen/cli": "^1.20.1",
  101. "@graphql-codegen/near-operation-file-preset": "^1.17.13",
  102. "@graphql-codegen/typescript": "1.20.2",
  103. "@graphql-codegen/typescript-operations": "1.17.14",
  104. "@graphql-codegen/typescript-react-apollo": "2.2.1",
  105. "@storybook/addon-actions": "^6.1.16",
  106. "@storybook/addon-essentials": "^6.1.16",
  107. "@storybook/addon-links": "^6.1.16",
  108. "@storybook/addons": "^6.1.16",
  109. "@storybook/node-logger": "^6.1.16",
  110. "@storybook/preset-create-react-app": "^3.1.5",
  111. "@storybook/react": "^6.1.16",
  112. "@storybook/theming": "^6.1.16",
  113. "@svgr/cli": "^5.5.0",
  114. "@trivago/prettier-plugin-sort-imports": "^2.0.2",
  115. "@types/body-scroll-lock": "^2.6.1",
  116. "@types/cropperjs": "^1.3.0",
  117. "@types/faker": "^5.1.0",
  118. "@types/glider-js": "^1.7.3",
  119. "@types/loadable__component": "^5.13.3",
  120. "@types/lodash": "^4.14.157",
  121. "@types/node": "^12.0.0",
  122. "@types/react": "^16.9.0",
  123. "@types/react-dom": "^16.9.0",
  124. "@types/react-transition-group": "^4.4.0",
  125. "@types/video.js": "^7.3.10",
  126. "@typescript-eslint/eslint-plugin": "^4.27.0",
  127. "@typescript-eslint/parser": "^4.27.0",
  128. "eslint": "^7.28.0",
  129. "eslint-config-prettier": "^8.3.0",
  130. "eslint-plugin-react": "^7.24.0",
  131. "eslint-plugin-react-hooks": "^4.2.0",
  132. "faker": "^5.1.0",
  133. "fluent-ffmpeg": "^2.1.2",
  134. "husky": "^4.2.5",
  135. "lint-staged": "^10.2.7",
  136. "patch-package": "^6.2.2",
  137. "postinstall-postinstall": "^2.1.0",
  138. "react-app-rewired": "^2.1.6",
  139. "react-scripts": "4.0.1",
  140. "stylelint": "^13.13.1",
  141. "stylelint-config-prettier": "^8.0.2",
  142. "stylelint-config-standard": "^22.0.0",
  143. "stylelint-webpack-plugin": "^2.1.1",
  144. "ts-loader": "^6.2.1",
  145. "typescript": "^4.2.3",
  146. "webpack-bundle-analyzer": "^4.4.2",
  147. "webpack-merge": "^5.7.3"
  148. },
  149. "resolutions": {
  150. "postcss-safe-parser": "4.0.2",
  151. "bn.js": "4.12.0"
  152. },
  153. "browserslist": {
  154. "production": [
  155. ">0.2%",
  156. "not dead",
  157. "not op_mini all"
  158. ],
  159. "development": [
  160. "last 1 chrome version",
  161. "last 1 firefox version",
  162. "last 1 safari version"
  163. ]
  164. },
  165. "engines": {
  166. "node": ">=14"
  167. },
  168. "msw": {
  169. "workerDirectory": "public"
  170. }
  171. }