181 lines
5.9 KiB
JSON
181 lines
5.9 KiB
JSON
{
|
|
"name": "@tryghost/shade",
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/shade",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "es/index.js",
|
|
"types": "types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./es/index.js",
|
|
"default": "./es/index.js"
|
|
},
|
|
"./tokens": {
|
|
"types": "./types/tokens.d.ts",
|
|
"import": "./es/tokens.js",
|
|
"default": "./es/tokens.js"
|
|
},
|
|
"./primitives": {
|
|
"types": "./types/primitives.d.ts",
|
|
"import": "./es/primitives.js",
|
|
"default": "./es/primitives.js"
|
|
},
|
|
"./components": {
|
|
"types": "./types/components.d.ts",
|
|
"import": "./es/components.js",
|
|
"default": "./es/components.js"
|
|
},
|
|
"./patterns": {
|
|
"types": "./types/patterns.d.ts",
|
|
"import": "./es/patterns.js",
|
|
"default": "./es/patterns.js"
|
|
},
|
|
"./app": {
|
|
"types": "./types/app.d.ts",
|
|
"import": "./es/app.js",
|
|
"default": "./es/app.js"
|
|
},
|
|
"./utils": {
|
|
"types": "./types/utils.d.ts",
|
|
"import": "./es/utils.js",
|
|
"default": "./es/utils.js"
|
|
},
|
|
"./styles.css": "./styles.css",
|
|
"./tailwind.theme.css": "./tailwind.theme.css",
|
|
"./tokens.css": "./tokens.css",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"build": "tsc -p tsconfig.declaration.json && vite build",
|
|
"test": "pnpm test:types && vitest run --coverage",
|
|
"test:unit": "pnpm test:types && vitest run",
|
|
"test:types": "tsc --noEmit",
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
|
|
"lint": "pnpm lint:code && pnpm lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx test/ --cache",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"files": [
|
|
"es",
|
|
"types",
|
|
"styles.css",
|
|
"tailwind.theme.css",
|
|
"theme-variables.css",
|
|
"tokens.css",
|
|
"preflight.css"
|
|
],
|
|
"devDependencies": {
|
|
"@codemirror/lang-html": "6.4.11",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@storybook/addon-docs": "10.3.3",
|
|
"@storybook/addon-links": "10.3.3",
|
|
"@storybook/react-vite": "10.3.3",
|
|
"@tailwindcss/postcss": "4.2.1",
|
|
"@tailwindcss/vite": "4.2.1",
|
|
"@testing-library/react": "14.3.1",
|
|
"@testing-library/react-hooks": "8.0.1",
|
|
"@types/lodash-es": "4.17.12",
|
|
"@types/node": "22.19.17",
|
|
"@types/react-world-flags": "1.6.0",
|
|
"@vitejs/plugin-react": "4.7.0",
|
|
"@vitest/coverage-v8": "^1.6.1",
|
|
"c8": "10.1.3",
|
|
"chai": "4.5.0",
|
|
"eslint": "catalog:",
|
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
"eslint-plugin-react-refresh": "0.4.24",
|
|
"eslint-plugin-storybook": "10.3.3",
|
|
"eslint-plugin-tailwindcss": "4.0.0-beta.0",
|
|
"glob": "^10.5.0",
|
|
"jsdom": "28.1.0",
|
|
"lodash-es": "4.18.1",
|
|
"postcss": "8.5.6",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"sinon": "18.0.1",
|
|
"storybook": "10.3.3",
|
|
"tailwindcss": "4.2.1",
|
|
"tw-animate-css": "1.4.0",
|
|
"typescript": "5.9.3",
|
|
"vite": "5.4.21",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "1.6.1"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "6.3.1",
|
|
"@dnd-kit/sortable": "7.0.2",
|
|
"@ebay/nice-modal-react": "1.2.13",
|
|
"@hookform/resolvers": "5.2.2",
|
|
"@number-flow/react": "0.5.10",
|
|
"@radix-ui/react-accordion": "1.2.12",
|
|
"@radix-ui/react-alert-dialog": "1.1.15",
|
|
"@radix-ui/react-avatar": "1.1.11",
|
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
"@radix-ui/react-dialog": "1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
"@radix-ui/react-form": "0.1.8",
|
|
"@radix-ui/react-hover-card": "1.1.15",
|
|
"@radix-ui/react-label": "2.1.8",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-radio-group": "1.3.8",
|
|
"@radix-ui/react-select": "2.2.6",
|
|
"@radix-ui/react-separator": "1.1.8",
|
|
"@radix-ui/react-slider": "1.3.6",
|
|
"@radix-ui/react-slot": "1.2.4",
|
|
"@radix-ui/react-switch": "1.2.6",
|
|
"@radix-ui/react-tabs": "1.1.13",
|
|
"@radix-ui/react-toggle": "1.1.10",
|
|
"@radix-ui/react-toggle-group": "1.1.11",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@sentry/react": "7.120.4",
|
|
"@types/color": "4.2.1",
|
|
"@types/react": "18.3.28",
|
|
"@types/react-dom": "18.3.7",
|
|
"@types/validator": "13.15.10",
|
|
"@uiw/react-codemirror": "4.25.2",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"cmdk": "1.1.1",
|
|
"color": "^5.0.3",
|
|
"lucide-react": "0.577.0",
|
|
"moment-timezone": "^0.5.48",
|
|
"next-themes": "0.4.6",
|
|
"react": "18.3.1",
|
|
"react-colorful": "5.6.1",
|
|
"react-dom": "18.3.1",
|
|
"react-dropzone": "14.2.3",
|
|
"react-hook-form": "7.72.1",
|
|
"react-hot-toast": "2.6.0",
|
|
"react-select": "5.10.2",
|
|
"react-world-flags": "1.6.0",
|
|
"recharts": "2.15.4",
|
|
"sonner": "2.0.7",
|
|
"tailwind-merge": "3.5.0",
|
|
"validator": "13.12.0",
|
|
"zod": "4.1.12"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|