113 lines
3.7 KiB
JSON
113 lines
3.7 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-design-system",
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/admin-x-design-system",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "es/index.js",
|
|
"types": "types/index.d.ts",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"build": "tsc -p tsconfig.declaration.json && vite build",
|
|
"test": "pnpm test:unit",
|
|
"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"
|
|
],
|
|
"devDependencies": {
|
|
"@codemirror/lang-html": "6.4.11",
|
|
"@codemirror/state": "6.6.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@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/preview-api": "^8.6.14",
|
|
"@storybook/react": "8.6.14",
|
|
"@storybook/react-vite": "8.6.14",
|
|
"@storybook/testing-library": "0.2.2",
|
|
"@tailwindcss/postcss": "4.2.1",
|
|
"@testing-library/react": "14.3.1",
|
|
"@testing-library/react-hooks": "8.0.1",
|
|
"@types/lodash-es": "4.17.12",
|
|
"@types/react": "18.3.28",
|
|
"@types/react-dom": "18.3.7",
|
|
"@types/validator": "13.15.10",
|
|
"@vitejs/plugin-react": "4.7.0",
|
|
"autoprefixer": "10.4.21",
|
|
"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-tailwindcss": "4.0.0-beta.0",
|
|
"glob": "^10.5.0",
|
|
"jsdom": "28.1.0",
|
|
"lodash-es": "4.18.1",
|
|
"postcss": "8.5.6",
|
|
"postcss-import": "16.1.1",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"sinon": "18.0.1",
|
|
"storybook": "8.6.15",
|
|
"tailwindcss": "4.2.1",
|
|
"typescript": "5.9.3",
|
|
"validator": "13.12.0",
|
|
"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",
|
|
"@radix-ui/react-avatar": "1.1.11",
|
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
"@radix-ui/react-form": "0.1.8",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-radio-group": "1.3.8",
|
|
"@radix-ui/react-separator": "1.1.8",
|
|
"@radix-ui/react-switch": "1.2.6",
|
|
"@radix-ui/react-tabs": "1.1.13",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@sentry/react": "7.120.4",
|
|
"@tryghost/shade": "workspace:*",
|
|
"@uiw/react-codemirror": "4.25.2",
|
|
"clsx": "2.1.1",
|
|
"react-colorful": "5.6.1",
|
|
"react-hot-toast": "2.6.0",
|
|
"react-select": "5.10.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|