|
@@ -16,11 +16,15 @@
|
|
|
"url": "https://github.com/Joystream/joystream/issues"
|
|
|
},
|
|
|
"scripts": {
|
|
|
+ "bundle-stats": "webpack-bundle-analyzer dist/bundle-stats.json -m static -r dist/stats.html",
|
|
|
"start": "react-app-rewired start",
|
|
|
"dev": "yarn start",
|
|
|
- "build": "react-app-rewired build",
|
|
|
+ "build": "react-app-rewired build --stats && yarn bundle-stats",
|
|
|
"eject": "react-app-rewired eject",
|
|
|
- "lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
|
|
+ "lint:ts": "eslint --ext .js,.jsx,.ts,.tsx .",
|
|
|
+ "lint:prettier": "prettier --check .",
|
|
|
+ "lint:css": "stylelint './src/**/*.{tsx,ts}'",
|
|
|
+ "lint": "yarn lint:css && yarn lint:ts && yarn lint:prettier",
|
|
|
"storybook": "start-storybook -p 6006 -s public",
|
|
|
"build-storybook": "build-storybook -s public",
|
|
|
"mocking:videos": "node scripts/mocking/generateVideos.js",
|
|
@@ -41,18 +45,9 @@
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@apollo/client": "^3.3.0",
|
|
|
- "@emotion/babel-plugin": "~11.0.0",
|
|
|
- "@emotion/babel-preset-css-prop": "~11.0.0",
|
|
|
- "@emotion/eslint-plugin": "^11.0.0",
|
|
|
"@emotion/react": "~11.0.0",
|
|
|
"@emotion/styled": "~11.0.0",
|
|
|
- "@graphql-codegen/cli": "^1.20.1",
|
|
|
- "@graphql-codegen/near-operation-file-preset": "^1.17.13",
|
|
|
- "@graphql-codegen/typescript": "1.20.2",
|
|
|
- "@graphql-codegen/typescript-operations": "1.17.14",
|
|
|
- "@graphql-codegen/typescript-react-apollo": "2.2.1",
|
|
|
"@joystream/content-metadata-protobuf": "~1.1.0",
|
|
|
- "@joystream/eslint-config": "^1.0.0",
|
|
|
"@joystream/prettier-config": "^1.0.0",
|
|
|
"@joystream/types": "~0.16.1",
|
|
|
"@loadable/component": "^5.14.1",
|
|
@@ -60,71 +55,52 @@
|
|
|
"@sentry/integrations": "^6.3.5",
|
|
|
"@sentry/react": "^6.3.5",
|
|
|
"@tippyjs/react": "^4.2.5",
|
|
|
- "@types/body-scroll-lock": "^2.6.1",
|
|
|
- "@types/cropperjs": "^1.3.0",
|
|
|
- "@types/faker": "^5.1.0",
|
|
|
- "@types/glider-js": "^1.7.3",
|
|
|
- "@types/loadable__component": "^5.13.3",
|
|
|
- "@types/lodash": "^4.14.157",
|
|
|
- "@types/node": "^12.0.0",
|
|
|
- "@types/react": "^16.9.0",
|
|
|
- "@types/react-dom": "^16.9.0",
|
|
|
- "@types/react-transition-group": "^4.4.0",
|
|
|
- "@types/video.js": "^7.3.10",
|
|
|
"apollo": "^2.30.2",
|
|
|
"awesome-debounce-promise": "^2.1.0",
|
|
|
"axios": "^0.21.1",
|
|
|
- "bn.js": "~5.2.0",
|
|
|
+ "bn.js": "^4.12.0",
|
|
|
"body-scroll-lock": "^3.1.5",
|
|
|
"cropperjs": "^1.5.10",
|
|
|
- "csstype": "^3.0.0-beta.4",
|
|
|
"customize-cra": "^1.0.0",
|
|
|
"date-fns": "^2.15.0",
|
|
|
"downshift": "^6.1.0",
|
|
|
"emotion-normalize": "~11.0.0",
|
|
|
- "eslint-config-prettier": "^6.11.0",
|
|
|
- "eslint-plugin-jsx-a11y": "^6.2.3",
|
|
|
- "eslint-plugin-prettier": "^3.1.3",
|
|
|
- "faker": "^5.1.0",
|
|
|
- "fluent-ffmpeg": "^2.1.2",
|
|
|
"glider-js": "^1.7.3",
|
|
|
"graphql": "^15.3.0",
|
|
|
"graphql-tag": "^2.11.0",
|
|
|
"graphql-tools": "^7.0.2",
|
|
|
"history": "^5.0.0",
|
|
|
- "husky": "^4.2.5",
|
|
|
+ "immer": "^9.0.3",
|
|
|
"ipfs-only-hash": "^2.1.0",
|
|
|
- "lint-staged": "^10.2.7",
|
|
|
"lodash": "^4.17.19",
|
|
|
"msw": "^0.27.0",
|
|
|
- "patch-package": "^6.2.2",
|
|
|
- "postinstall-postinstall": "^2.1.0",
|
|
|
"prettier": "^2.0.5",
|
|
|
"rc-slider": "^9.7.1",
|
|
|
"react": "^16.13.1",
|
|
|
- "react-app-rewired": "^2.1.6",
|
|
|
- "react-docgen-typescript-loader": "^3.7.1",
|
|
|
"react-dom": "^16.13.1",
|
|
|
"react-dropzone": "^11.3.1",
|
|
|
- "react-hook-form": "^6.15.3",
|
|
|
+ "react-hook-form": "^7.8.1",
|
|
|
"react-intersection-observer": "^8.31.0",
|
|
|
"react-number-format": "^4.4.4",
|
|
|
- "react-player": "^2.2.0",
|
|
|
"react-router": "^6.0.0-beta.0",
|
|
|
"react-router-dom": "^6.0.0-beta.0",
|
|
|
- "react-scripts": "4.0.1",
|
|
|
"react-spring": "^8.0.27",
|
|
|
"react-transition-group": "^4.4.1",
|
|
|
"react-use-measure": "^2.0.4",
|
|
|
"retry-axios": "^2.4.0",
|
|
|
"subscriptions-transport-ws": "^0.9.18",
|
|
|
- "ts-loader": "^6.2.1",
|
|
|
- "typescript": "^4.2.3",
|
|
|
"use-resize-observer": "^7.0.0",
|
|
|
"video.js": "^7.8.3",
|
|
|
- "webpack-merge": "^5.7.3"
|
|
|
+ "zustand": "^3.5.2"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
+ "@emotion/babel-plugin": "~11.0.0",
|
|
|
+ "@emotion/eslint-plugin": "^11.2.0",
|
|
|
+ "@graphql-codegen/cli": "^1.20.1",
|
|
|
+ "@graphql-codegen/near-operation-file-preset": "^1.17.13",
|
|
|
+ "@graphql-codegen/typescript": "1.20.2",
|
|
|
+ "@graphql-codegen/typescript-operations": "1.17.14",
|
|
|
+ "@graphql-codegen/typescript-react-apollo": "2.2.1",
|
|
|
"@storybook/addon-actions": "^6.1.16",
|
|
|
"@storybook/addon-essentials": "^6.1.16",
|
|
|
"@storybook/addon-links": "^6.1.16",
|
|
@@ -134,7 +110,44 @@
|
|
|
"@storybook/react": "^6.1.16",
|
|
|
"@storybook/theming": "^6.1.16",
|
|
|
"@svgr/cli": "^5.5.0",
|
|
|
- "@trivago/prettier-plugin-sort-imports": "^2.0.2"
|
|
|
+ "@trivago/prettier-plugin-sort-imports": "^2.0.2",
|
|
|
+ "@types/body-scroll-lock": "^2.6.1",
|
|
|
+ "@types/cropperjs": "^1.3.0",
|
|
|
+ "@types/faker": "^5.1.0",
|
|
|
+ "@types/glider-js": "^1.7.3",
|
|
|
+ "@types/loadable__component": "^5.13.3",
|
|
|
+ "@types/lodash": "^4.14.157",
|
|
|
+ "@types/node": "^12.0.0",
|
|
|
+ "@types/react": "^16.9.0",
|
|
|
+ "@types/react-dom": "^16.9.0",
|
|
|
+ "@types/react-transition-group": "^4.4.0",
|
|
|
+ "@types/video.js": "^7.3.10",
|
|
|
+ "@typescript-eslint/eslint-plugin": "^4.27.0",
|
|
|
+ "@typescript-eslint/parser": "^4.27.0",
|
|
|
+ "eslint": "^7.28.0",
|
|
|
+ "eslint-config-prettier": "^8.3.0",
|
|
|
+ "eslint-plugin-react": "^7.24.0",
|
|
|
+ "eslint-plugin-react-hooks": "^4.2.0",
|
|
|
+ "faker": "^5.1.0",
|
|
|
+ "fluent-ffmpeg": "^2.1.2",
|
|
|
+ "husky": "^4.2.5",
|
|
|
+ "lint-staged": "^10.2.7",
|
|
|
+ "patch-package": "^6.2.2",
|
|
|
+ "postinstall-postinstall": "^2.1.0",
|
|
|
+ "react-app-rewired": "^2.1.6",
|
|
|
+ "react-scripts": "4.0.1",
|
|
|
+ "stylelint": "^13.13.1",
|
|
|
+ "stylelint-config-prettier": "^8.0.2",
|
|
|
+ "stylelint-config-standard": "^22.0.0",
|
|
|
+ "stylelint-webpack-plugin": "^2.1.1",
|
|
|
+ "ts-loader": "^6.2.1",
|
|
|
+ "typescript": "^4.2.3",
|
|
|
+ "webpack-bundle-analyzer": "^4.4.2",
|
|
|
+ "webpack-merge": "^5.7.3"
|
|
|
+ },
|
|
|
+ "resolutions": {
|
|
|
+ "postcss-safe-parser": "4.0.2",
|
|
|
+ "bn.js": "4.12.0"
|
|
|
},
|
|
|
"browserslist": {
|
|
|
"production": [
|