{ "name": "@joystream/atlas", "description": "UI for consuming Joystream - a user governed video platform", "version": "3.4.0", "license": "GPL-3.0", "scripts": { "start": "vite", "dev": "vite", "build": "vite build", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build -o dist-storybook", "lint:ts": "eslint --ext .js,.jsx,.ts,.tsx --max-warnings 0 .", "lint:prettier": "prettier --check .", "lint:css": "stylelint --max-warnings 0 './src/**/*.{tsx,ts}'", "lint": "yarn lint:css && yarn lint:ts && yarn lint:prettier", "tokens:fetch": "node ./scripts/fetchTokens && prettier --write src/styles/tokens", "tokens:build": "style-dictionary build --config ./sd.config.js && prettier --write src/styles/generated/variables.ts", "tokens": "yarn tokens:fetch && yarn tokens:build", "svgs": "yarn svgs:icons && yarn svgs:illustrations && yarn svgs:logos", "svgs:illustrations-generate": "svgr --config-file svgr.config.js -d src/assets/illustrations src/assets/illustrations/svgs && prettier --write src/assets/illustrations", "svgs:illustrations-import": "node ./scripts/figma-import --illustrations", "svgs:illustrations": "yarn svgs:illustrations-import && yarn svgs:illustrations-generate", "svgs:icons-import": "node ./scripts/figma-import --icons", "svgs:icons-generate": "svgr --config-file svgr.config.js -d src/assets/icons src/assets/icons/svgs && prettier --write src/assets/icons", "svgs:icons": "yarn svgs:icons-import && yarn svgs:icons-generate", "svgs:logos": "svgr --config-file svgr.config.js -d src/assets/logos src/assets/logos/svgs && prettier --write src/assets/logos", "lint:post-codegen": "stylelint --max-warnings 0 './src/**/*generated.{tsx,ts}' && prettier --write src/**/*generated.{tsx,ts}", "graphql": "rimraf src/api/queries/__generated__ && DOTENV_CONFIG_PATH=\"./src/.env\" graphql-codegen --config codegen.config.yml -r dotenv/config && yarn lint:post-codegen", "test": "vitest run", "test:dev": "vitest dev", "madge:circular": "madge --circular ./src/* --ts-config ./tsconfig.json --extensions ts,tsx", "madge:unused": "madge --orphans ./src/* --ts-config ./tsconfig.json --extensions ts,tsx --exclude '.stories.tsx$'" }, "dependencies": { "@apollo/client": "^3.7.2", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@hcaptcha/react-hcaptcha": "^1.4.4", "@hookform/resolvers": "^2.9.10", "@joystream/js": "^1.4.0", "@joystream/metadata-protobuf": "2.8.1", "@joystream/types": "2.1.0", "@livesession/sdk": "^1.1.4", "@loadable/component": "^5.15.2", "@lottiefiles/react-lottie-player": "^3.5.0", "@segment/analytics-next": "^1.53.0", "@sentry/react": "^7.53.1", "@talismn/connect-wallets": "^1.2.1", "@tippyjs/react": "^4.2.6", "aos": "^2.3.4", "awesome-debounce-promise": "^2.1.0", "axios": "^1.2.1", "bezier-easing": "^2.1.0", "blake3": "2.1.7", "bn.js": "^5.2.1", "buffer": "^6.0.3", "comlink": "^4.3.1", "cropperjs": "^1.5.13", "date-fns": "^2.29.3", "downshift": "^7.0.4", "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "haversine-distance": "^1.2.1", "history": "^5.3.0", "immer": "^9.0.16", "localforage": "^1.10.0", "lodash-es": "^4.17.21", "multihashes": "^4.0.3", "postcss-syntax": "^0.36.2", "rc-slider": "^10.1.0", "react": "^18.2.0", "react-datepicker": "^4.8.0", "react-dom": "^18.2.0", "react-dropzone": "^14.2.3", "react-helmet": "^6.1.0", "react-hook-form": "^7.40.0", "react-intersection-observer": "^9.4.1", "react-markdown": "^8.0.4", "react-merge-refs": "^2.0.1", "react-number-format": "^5.1.2", "react-popper": "^2.3.0", "react-query": "^3.39.2", "react-router": "^6.4.5", "react-router-dom": "^6.4.5", "react-scroll-parallax": "^3.3.1", "react-spring": "^9.6.0", "react-table": "^7.8.0", "react-textarea-autosize": "^8.4.0", "react-transition-group": "^4.4.5", "retry-axios": "^3.0.0", "scroll-lock": "^2.1.5", "subscriptions-transport-ws": "^0.11.0", "swiper": "^9.1.1", "twemoji": "^14.0.2", "use-draggable-scroll": "^0.1.0", "use-resize-observer": "^9.1.0", "video.js": "^7.21.1", "zod": "^3.20.2", "zustand": "^3.7.2" }, "devDependencies": { "@emotion/babel-plugin": "^11.10.5", "@graphql-codegen/cli": "^2.16.1", "@graphql-codegen/introspection": "^2.2.3", "@graphql-codegen/near-operation-file-preset": "^2.4.4", "@graphql-codegen/typescript": "^2.8.5", "@graphql-codegen/typescript-operations": "^2.5.10", "@graphql-codegen/typescript-react-apollo": "^3.3.7", "@joystream/prettier-config": "^1.0.0", "@modyfi/vite-plugin-yaml": "^1.0.3", "@rollup/plugin-babel": "^6.0.3", "@storybook/addon-actions": "7.0.7", "@storybook/addon-docs": "7.0.7", "@storybook/addon-essentials": "7.0.7", "@storybook/addon-links": "7.0.7", "@storybook/addons": "7.0.7", "@storybook/react-vite": "7.0.7", "@storybook/theming": "7.0.7", "@svgr/cli": "^6.5.1", "@testing-library/dom": "^8.19.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@types/aos": "^3.0.4", "@types/bn.js": "^5.1.1", "@types/js-yaml": "^4.0.5", "@types/loadable__component": "^5.13.4", "@types/lodash-es": "^4.17.6", "@types/react": "^18.0.26", "@types/react-datepicker": "^4.8.0", "@types/react-dom": "^18.0.9", "@types/react-helmet": "^6.1.6", "@types/react-table": "^7", "@types/react-transition-group": "^4.4.5", "@types/scroll-lock": "^2.1.0", "@types/video.js": "^7.3.50", "@vitejs/plugin-react": "^3.0.0", "happy-dom": "^8.1.0", "js-yaml": "^4.1.0", "madge": "^5.0.1", "postcss-syntax": "^0.36.2", "react-ga": "^3.3.1", "react-hooks-testing-library": "^0.6.0", "rimraf": "^3.0.2", "rollup-plugin-visualizer": "^5.8.3", "storybook": "7.0.7", "style-dictionary": "^3.7.1", "vite": "^4.3.9", "vite-plugin-checker": "^0.5.2", "vitest": "^0.25.7" }, "engines": { "node": "^16" } }