package.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. "cypress:open": "cypress open",
  41. "cypress:run": "cypress run"
  42. },
  43. "lint-staged": {
  44. "*.{ts,tsx,js,jsx,json}": [
  45. "prettier --write"
  46. ]
  47. },
  48. "dependencies": {
  49. "@apollo/client": "^3.3.0",
  50. "@emotion/react": "~11.0.0",
  51. "@emotion/styled": "~11.0.0",
  52. "@joystream/content-metadata-protobuf": "~1.1.0",
  53. "@joystream/prettier-config": "^1.0.0",
  54. "@joystream/types": "~0.16.1",
  55. "@loadable/component": "^5.14.1",
  56. "@polkadot/extension-dapp": "~0.37.3-17",
  57. "@sentry/integrations": "^6.3.5",
  58. "@sentry/react": "^6.3.5",
  59. "@tippyjs/react": "^4.2.5",
  60. "apollo": "^2.30.2",
  61. "awesome-debounce-promise": "^2.1.0",
  62. "axios": "^0.21.1",
  63. "bn.js": "^4.12.0",
  64. "body-scroll-lock": "^3.1.5",
  65. "cropperjs": "^1.5.10",
  66. "customize-cra": "^1.0.0",
  67. "date-fns": "^2.15.0",
  68. "downshift": "^6.1.0",
  69. "emotion-normalize": "~11.0.0",
  70. "glider-js": "^1.7.3",
  71. "graphql": "^15.3.0",
  72. "graphql-tag": "^2.11.0",
  73. "graphql-tools": "^7.0.2",
  74. "history": "^5.0.0",
  75. "immer": "^9.0.3",
  76. "ipfs-only-hash": "^2.1.0",
  77. "lodash": "^4.17.19",
  78. "msw": "^0.27.0",
  79. "prettier": "^2.0.5",
  80. "rc-slider": "^9.7.1",
  81. "react": "^16.13.1",
  82. "react-dom": "^16.13.1",
  83. "react-dropzone": "^11.3.1",
  84. "react-hook-form": "^7.8.1",
  85. "react-intersection-observer": "^8.31.0",
  86. "react-number-format": "^4.4.4",
  87. "react-router": "^6.0.0-beta.0",
  88. "react-router-dom": "^6.0.0-beta.0",
  89. "react-spring": "^8.0.27",
  90. "react-transition-group": "^4.4.1",
  91. "react-use-measure": "^2.0.4",
  92. "retry-axios": "^2.4.0",
  93. "subscriptions-transport-ws": "^0.9.18",
  94. "use-resize-observer": "^7.0.0",
  95. "video.js": "^7.8.3",
  96. "zustand": "^3.5.2"
  97. },
  98. "devDependencies": {
  99. "@emotion/babel-plugin": "~11.0.0",
  100. "@emotion/eslint-plugin": "^11.2.0",
  101. "@graphql-codegen/cli": "^1.20.1",
  102. "@graphql-codegen/near-operation-file-preset": "^1.17.13",
  103. "@graphql-codegen/typescript": "1.20.2",
  104. "@graphql-codegen/typescript-operations": "1.17.14",
  105. "@graphql-codegen/typescript-react-apollo": "2.2.1",
  106. "@storybook/addon-actions": "^6.1.16",
  107. "@storybook/addon-essentials": "^6.1.16",
  108. "@storybook/addon-links": "^6.1.16",
  109. "@storybook/addons": "^6.1.16",
  110. "@storybook/node-logger": "^6.1.16",
  111. "@storybook/preset-create-react-app": "^3.1.5",
  112. "@storybook/react": "^6.1.16",
  113. "@storybook/theming": "^6.1.16",
  114. "@svgr/cli": "^5.5.0",
  115. "@testing-library/cypress": "^7.0.6",
  116. "@trivago/prettier-plugin-sort-imports": "^2.0.2",
  117. "@types/body-scroll-lock": "^2.6.1",
  118. "@types/cropperjs": "^1.3.0",
  119. "@types/faker": "^5.1.0",
  120. "@types/glider-js": "^1.7.3",
  121. "@types/loadable__component": "^5.13.3",
  122. "@types/lodash": "^4.14.157",
  123. "@types/node": "^12.0.0",
  124. "@types/react": "^16.9.0",
  125. "@types/react-dom": "^16.9.0",
  126. "@types/react-transition-group": "^4.4.0",
  127. "@types/video.js": "^7.3.10",
  128. "@typescript-eslint/eslint-plugin": "^4.27.0",
  129. "@typescript-eslint/parser": "^4.27.0",
  130. "cypress": "^7.5.0",
  131. "eslint": "^7.28.0",
  132. "eslint-config-prettier": "^8.3.0",
  133. "eslint-plugin-cypress": "^2.11.3",
  134. "eslint-plugin-react": "^7.24.0",
  135. "eslint-plugin-react-hooks": "^4.2.0",
  136. "faker": "^5.1.0",
  137. "fluent-ffmpeg": "^2.1.2",
  138. "husky": "^4.2.5",
  139. "lint-staged": "^10.2.7",
  140. "patch-package": "^6.2.2",
  141. "postinstall-postinstall": "^2.1.0",
  142. "react-app-rewired": "^2.1.6",
  143. "react-scripts": "4.0.1",
  144. "stylelint": "^13.13.1",
  145. "stylelint-config-prettier": "^8.0.2",
  146. "stylelint-config-standard": "^22.0.0",
  147. "stylelint-webpack-plugin": "^2.1.1",
  148. "ts-loader": "^6.2.1",
  149. "typescript": "^4.2.3",
  150. "webpack-bundle-analyzer": "^4.4.2",
  151. "webpack-merge": "^5.7.3"
  152. },
  153. "resolutions": {
  154. "postcss-safe-parser": "4.0.2",
  155. "bn.js": "4.12.0"
  156. },
  157. "browserslist": {
  158. "production": [
  159. ">0.2%",
  160. "not dead",
  161. "not op_mini all"
  162. ],
  163. "development": [
  164. "last 1 chrome version",
  165. "last 1 firefox version",
  166. "last 1 safari version"
  167. ]
  168. },
  169. "engines": {
  170. "node": ">=14"
  171. },
  172. "msw": {
  173. "workerDirectory": "public"
  174. }
  175. }