{ "name": "@joystream/atlas", "description": "UI for consuming Joystream - a user governed video platform", "license": "GPL-3.0", "scripts": { "start": "vite", "dev": "vite", "build": "vite build", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook -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", "svgs:illustrations-generate": "svgr --config-file svgr.config.js -d src/components/_illustrations src/components/_illustrations/svgs && prettier --write src/components/_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/components/_icons src/components/_icons/svgs && prettier --write src/components/_icons", "svgs:icons": "yarn svgs:icons-import && yarn svgs:icons-generate", "graphql": "rimraf src/api/queries/__generated__ && DOTENV_CONFIG_PATH=\"./src/.env\" graphql-codegen --config codegen.config.yml -r dotenv/config", "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.6.7", "@emotion/react": "^11.9.3", "@emotion/styled": "^11.9.3", "@hookform/resolvers": "^2.9.1", "@joystream/metadata-protobuf": "2.2.0", "@joystream/types": "0.20.1", "@livesession/sdk": "^1.1.4", "@loadable/component": "^5.15.2", "@lottiefiles/react-lottie-player": "^3.4.7", "@polkadot/extension-dapp": "~0.44.1", "@sentry/react": "^7.1.1", "@talisman-connect/wallets": "^1.1.3", "@tippyjs/react": "^4.2.6", "awesome-debounce-promise": "^2.1.0", "axios": "^0.27.2", "bezier-easing": "^2.1.0", "bignumber.js": "^9.0.2", "blake3": "2.1.7", "bn.js": "^5.2.1", "buffer": "^5.7.1", "comlink": "^4.3.1", "cropperjs": "^1.5.12", "date-fns": "^2.28.0", "downshift": "^6.1.7", "emotion-normalize": "^11.0.1", "glider-js": "^1.7.7", "graphql": "^16.5.0", "graphql-tag": "^2.12.6", "haversine-distance": "^1.2.1", "history": "^5.3.0", "immer": "^9.0.15", "localforage": "^1.10.0", "lodash-es": "^4.17.21", "multihashes": "^4.0.3", "postcss-syntax": "^0.36.2", "rc-slider": "^10.0.0", "react": "^18.2.0", "react-datepicker": "^4.8.0", "react-dom": "^18.2.0", "react-dropzone": "^14.2.1", "react-helmet": "^6.1.0", "react-hook-form": "^7.32.0", "react-intersection-observer": "^9.2.2", "react-merge-refs": "^1.1.0", "react-number-format": "^4.9.3", "react-router": "^6.3.0", "react-router-dom": "^6.3.0", "react-spring": "^9.4.5", "react-textarea-autosize": "^8.3.4", "react-transition-group": "^4.4.2", "retry-axios": "^3.0.0", "scroll-lock": "^2.1.5", "subscriptions-transport-ws": "^0.11.0", "twemoji": "^14.0.2", "use-draggable-scroll": "^0.1.0", "use-resize-observer": "^9.0.0", "video.js": "^7.20.1", "zod": "^3.17.3", "zustand": "^3.7.2" }, "devDependencies": { "@babel/core": "^7.18.5", "@emotion/babel-plugin": "^11.9.2", "@graphql-codegen/cli": "^2.6.2", "@graphql-codegen/introspection": "^2.1.1", "@graphql-codegen/near-operation-file-preset": "^2.2.14", "@graphql-codegen/typescript": "^2.5.1", "@graphql-codegen/typescript-operations": "^2.4.2", "@graphql-codegen/typescript-react-apollo": "^3.2.16", "@joystream/prettier-config": "^1.0.0", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-inject": "^4.0.4", "@storybook/addon-actions": "6.4.18", "@storybook/addon-docs": "6.4.18", "@storybook/addon-essentials": "6.4.18", "@storybook/addon-links": "6.4.18", "@storybook/builder-vite": "0.1.36", "@storybook/react": "6.4.18", "@storybook/theming": "6.4.18", "@svgr/cli": "^6.2.1", "@testing-library/dom": "^8.13.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@types/glider-js": "^1.7.6", "@types/loadable__component": "^5.13.4", "@types/lodash-es": "^4.17.6", "@types/react": "^18.0.14", "@types/react-datepicker": "^4.4.2", "@types/react-dom": "^18.0.5", "@types/react-helmet": "^6.1.5", "@types/react-transition-group": "^4.4.4", "@types/scroll-lock": "^2.1.0", "@types/video.js": "^7.3.40", "@vitejs/plugin-react": "^1.3.2", "babel-loader": "^8.2.5", "esbuild-register": "^3.3.3", "happy-dom": "^4.1.0", "madge": "^5.0.1", "postcss-syntax": "^0.36.2", "react-hooks-testing-library": "^0.6.0", "rimraf": "^3.0.2", "rollup-plugin-visualizer": "^5.6.0", "style-dictionary": "^3.7.1", "vite": "^2.9.12", "vite-plugin-checker": "^0.4.6", "vitest": "^0.14.2" }, "engines": { "node": "^16" } }