@shopify/shop-minis-react
Version:
React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)
141 lines • 4.1 kB
JSON
{
"name": "@shopify/shop-minis-react",
"license": "SEE LICENSE IN LICENSE.txt",
"version": "0.11.1",
"sideEffects": false,
"type": "module",
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org/"
},
"description": "React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)",
"main": "src/index.ts",
"module": "src/index.ts",
"types": "src/index.ts",
"files": [
"src/**/*.{ts,tsx,css}",
"dist/**/*",
"eslint/**/*.cjs",
"eslint/**/*.md",
"stylelint/**/*.mjs",
"generated-hook-maps/**/*.json",
"README.md",
"LICENSE.txt"
],
"exports": {
".": {
"source": "./src/index.ts",
"import": "./src/index.ts",
"types": "./src/index.ts"
},
"./styles": "./src/index.css",
"./mocks": "./src/mocks.ts",
"./src/*": "./src/*",
"./eslint": "./eslint/index.cjs",
"./eslint/config": "./eslint/config.cjs",
"./stylelint": "./stylelint/index.mjs",
"./stylelint/config": "./stylelint/config.mjs"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0",
"tailwindcss": ">=4.0.0",
"typescript": ">=5.0.0"
},
"dependencies": {
"@shopify/shop-minis-platform": "0.12.1",
"@tailwindcss/vite": "4.1.8",
"@tanstack/react-query": "5.86.0",
"@types/color": "3.0.6",
"@types/lodash": "4.17.20",
"@types/react-window": "1.8.8",
"@types/url-parse": "1.4.9",
"@typescript-eslint/parser": "7.0.0",
"@vitejs/plugin-react": "4.5.1",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"color": "4.2.3",
"embla-carousel-react": "8.6.0",
"eslint": "8.57.0",
"eslint-plugin-compat": "6.0.2",
"eslint-plugin-no-secrets": "2.2.1",
"eslint-plugin-react": "7.37.5",
"js-base64": "3.7.7",
"lodash": "4.17.21",
"lucide-react": "0.513.0",
"motion": "12.17.3",
"next-themes": "0.4.6",
"radix-ui": "1.4.2",
"react-intersection-observer": "9.13.1",
"react-resizable-panels": "3.0.2",
"react-router": "7.7.0",
"react-virtuoso": "4.14.0",
"react-window": "1.8.11",
"sonner": "2.0.5",
"stylelint": "^16.26.1",
"tailwind-merge": "2.6.0",
"tailwindcss": "4.1.8",
"thumbhash": "0.1.1",
"tw-animate-css": "1.3.4",
"url-parse": "1.5.10",
"vaul": "1.1.2",
"video.js": "8.23.3"
},
"devDependencies": {
"@playwright/test": "^1.54.2",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.18.0",
"@types/react": "^19.1.6",
"@types/react-dom": "^19.1.2",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"jsdom": "^25.0.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"serve": "^14.2.4",
"typescript": "^5.8.3",
"vite": "^6.3.3",
"vite-plugin-dts": "^4.3.0",
"vitest": "^2.1.8"
},
"keywords": [
"react",
"components",
"ui",
"tailwind",
"shopify",
"shop-minis",
"typescript",
"source",
"css-variables",
"tailwindcss-v4"
],
"author": "Shopify",
"repository": {
"type": "git",
"url": "https://github.com/Shopify/shop-client.git",
"directory": "packages/minis/shop-minis-react"
},
"scripts": {
"dev": "vite ./demo",
"build": "vite build --mode lib",
"build:watch": "vite build --mode lib --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist",
"lint": "eslint . --format codeframe --cache",
"lint:fix": "eslint . --format codeframe --cache --fix",
"test": "vitest",
"test:ci": "vitest run --reporter=verbose",
"test:ci:coverage": "vitest run --coverage --reporter=verbose",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:integration": "npx playwright test --config=playwright.integration.config.ts",
"test:integration:local": "./scripts/test-integration-local.sh",
"playwright:install": "npx playwright install"
}
}