You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
139 lines
4.6 KiB
139 lines
4.6 KiB
{
|
|
"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",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.declaration.json && vite build",
|
|
"prepare": "yarn build",
|
|
"test": "yarn test:types && vitest run --coverage",
|
|
"test:unit": "yarn test:types && vitest run",
|
|
"test:types": "tsc --noEmit",
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
|
|
"lint": "yarn lint:code && yarn 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",
|
|
"tailwind.cjs",
|
|
"tailwind.config.cjs"
|
|
],
|
|
"devDependencies": {
|
|
"@codemirror/lang-html": "6.4.10",
|
|
"@radix-ui/react-tooltip": "1.2.7",
|
|
"@storybook/addon-docs": "9.1.6",
|
|
"@storybook/addon-essentials": "8.6.14",
|
|
"@storybook/addon-interactions": "8.6.14",
|
|
"@storybook/addon-links": "8.6.14",
|
|
"@storybook/addon-styling": "1.3.7",
|
|
"@storybook/blocks": "8.6.14",
|
|
"@storybook/react": "8.6.14",
|
|
"@storybook/react-vite": "8.6.14",
|
|
"@storybook/testing-library": "0.2.2",
|
|
"@tailwindcss/forms": "0.5.10",
|
|
"@tailwindcss/line-clamp": "0.4.4",
|
|
"@testing-library/react": "14.3.1",
|
|
"@testing-library/react-hooks": "8.0.1",
|
|
"@types/lodash-es": "4.17.12",
|
|
"@types/node": "22.18.4",
|
|
"@types/react-world-flags": "1.6.0",
|
|
"@vitejs/plugin-react": "4.7.0",
|
|
"autoprefixer": "10.4.21",
|
|
"c8": "10.1.3",
|
|
"chai": "4.5.0",
|
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
"eslint-plugin-react-refresh": "0.4.20",
|
|
"eslint-plugin-tailwindcss": "3.18.2",
|
|
"jsdom": "24.1.3",
|
|
"lodash-es": "4.17.21",
|
|
"postcss": "8.5.6",
|
|
"postcss-import": "16.1.1",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"sinon": "18.0.1",
|
|
"storybook": "8.6.14",
|
|
"tailwindcss": "3.4.17",
|
|
"tailwindcss-animate": "1.0.7",
|
|
"typescript": "5.8.3",
|
|
"vite": "5.4.20",
|
|
"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.14",
|
|
"@radix-ui/react-avatar": "1.1.10",
|
|
"@radix-ui/react-checkbox": "1.3.2",
|
|
"@radix-ui/react-dialog": "1.1.14",
|
|
"@radix-ui/react-dropdown-menu": "2.1.15",
|
|
"@radix-ui/react-form": "0.1.7",
|
|
"@radix-ui/react-label": "2.1.7",
|
|
"@radix-ui/react-popover": "1.1.14",
|
|
"@radix-ui/react-radio-group": "1.3.7",
|
|
"@radix-ui/react-select": "2.2.5",
|
|
"@radix-ui/react-separator": "1.1.7",
|
|
"@radix-ui/react-slider": "1.3.6",
|
|
"@radix-ui/react-slot": "1.2.3",
|
|
"@radix-ui/react-switch": "1.2.5",
|
|
"@radix-ui/react-tabs": "1.1.12",
|
|
"@radix-ui/react-toggle": "1.1.9",
|
|
"@radix-ui/react-toggle-group": "1.1.10",
|
|
"@radix-ui/react-tooltip": "1.2.7",
|
|
"@sentry/react": "7.120.4",
|
|
"@uiw/react-codemirror": "4.24.1",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"lucide-react": "0.533.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-hook-form": "7.61.1",
|
|
"react-hot-toast": "2.6.0",
|
|
"react-select": "5.10.2",
|
|
"react-world-flags": "1.6.0",
|
|
"recharts": "2.15.4",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"sonner": "2.0.6",
|
|
"tailwind-merge": "2.6.0",
|
|
"validator": "13.12.0",
|
|
"zod": "3.25.76"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|