106 lines
2.6 KiB
JSON
106 lines
2.6 KiB
JSON
{
|
|
"name": "@tryghost/admin",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"test": "pnpm test:unit",
|
|
"test:unit": "vitest run",
|
|
"typecheck": "tsc -b"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/activitypub": "workspace:*",
|
|
"@tryghost/admin-x-framework": "workspace:*",
|
|
"@tryghost/admin-x-settings": "workspace:*",
|
|
"@tryghost/koenig-lexical": "1.7.30",
|
|
"@tryghost/posts": "workspace:*",
|
|
"@tryghost/shade": "workspace:*",
|
|
"@tryghost/stats": "workspace:*",
|
|
"mingo": "2.5.3",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"zod": "4.1.12"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "catalog:eslint9",
|
|
"@tailwindcss/vite": "4.2.1",
|
|
"@tanstack/react-query": "4.36.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "14.3.1",
|
|
"@types/node": "25.6.0",
|
|
"@types/react": "18.3.28",
|
|
"@types/react-dom": "18.3.7",
|
|
"@vitejs/plugin-react-swc": "4.1.0",
|
|
"eslint": "catalog:eslint9",
|
|
"eslint-plugin-no-relative-import-paths": "1.6.1",
|
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
"eslint-plugin-react-refresh": "0.4.24",
|
|
"eslint-plugin-tailwindcss": "4.0.0-beta.0",
|
|
"globals": "17.4.0",
|
|
"jest-extended": "7.0.0",
|
|
"jsdom": "28.1.0",
|
|
"msw": "2.12.14",
|
|
"sirv": "3.0.2",
|
|
"tailwindcss": "^4.2.2",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "8.58.0",
|
|
"vite": "7.1.12",
|
|
"vite-tsconfig-paths": "5.1.4",
|
|
"vitest": "4.1.2"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"dev": {
|
|
"dependsOn": [
|
|
"ghost-admin:dev",
|
|
"@tryghost/admin-x-framework:dev",
|
|
"@tryghost/admin-x-design-system:dev",
|
|
"@tryghost/shade:dev"
|
|
]
|
|
},
|
|
"build:dev": {
|
|
"dependsOn": [
|
|
"build",
|
|
{
|
|
"projects": [
|
|
"ghost-admin"
|
|
],
|
|
"target": "build:dev"
|
|
}
|
|
]
|
|
},
|
|
"build": {
|
|
"outputs": [
|
|
"{projectRoot}/dist",
|
|
"{workspaceRoot}/ghost/core/core/built/admin"
|
|
],
|
|
"dependsOn": [
|
|
"build",
|
|
{
|
|
"projects": [
|
|
"ghost-admin"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": [
|
|
{
|
|
"projects": [
|
|
"@tryghost/admin-x-framework",
|
|
"@tryghost/admin-x-design-system",
|
|
"@tryghost/shade"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|