package.json 5.6 KB

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