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.
126 lines
3.8 KiB
126 lines
3.8 KiB
{
|
|
"name": "@tryghost/admin-x-framework",
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/apps/admin-x-framework",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs",
|
|
"types": "./types/index.d.ts"
|
|
},
|
|
"./errors": {
|
|
"import": "./dist/errors.js",
|
|
"require": "./dist/errors.cjs",
|
|
"types": "./types/errors.d.ts"
|
|
},
|
|
"./helpers": {
|
|
"import": "./dist/helpers.js",
|
|
"require": "./dist/helpers.cjs",
|
|
"types": "./types/helpers.d.ts"
|
|
},
|
|
"./hooks": {
|
|
"import": "./dist/hooks.js",
|
|
"require": "./dist/hooks.cjs",
|
|
"types": "./types/hooks.d.ts"
|
|
},
|
|
"./routing": {
|
|
"import": "./dist/routing.js",
|
|
"require": "./dist/routing.cjs",
|
|
"types": "./types/routing.d.ts"
|
|
},
|
|
"./api/*": {
|
|
"import": "./dist/api/*.js",
|
|
"require": "./dist/api/*.cjs",
|
|
"types": "./types/api/*.d.ts"
|
|
},
|
|
"./utils/post-utils": {
|
|
"import": "./dist/utils/post-utils.js",
|
|
"require": "./dist/utils/post-utils.cjs",
|
|
"types": "./types/utils/post-utils.d.ts"
|
|
},
|
|
"./vite": {
|
|
"import": "./dist/vite.js",
|
|
"require": "./dist/vite.cjs",
|
|
"types": "./types/vite.d.ts"
|
|
},
|
|
"./playwright": {
|
|
"import": "./dist/playwright.js",
|
|
"require": "./dist/playwright.cjs",
|
|
"types": "./types/playwright.d.ts"
|
|
},
|
|
"./test/*": {
|
|
"import": "./dist/test/*.js",
|
|
"require": "./dist/test/*.cjs",
|
|
"types": "./types/test/*.d.ts"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.declaration.json && vite build",
|
|
"prepare": "yarn build",
|
|
"test": "yarn test:types && yarn test:unit",
|
|
"test:types": "tsc --noEmit",
|
|
"test:unit": "vitest run --coverage",
|
|
"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"
|
|
},
|
|
"files": [
|
|
"es",
|
|
"types"
|
|
],
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "5.17.0",
|
|
"@testing-library/react": "14.3.1",
|
|
"@types/react": "18.3.24",
|
|
"@types/react-dom": "18.3.7",
|
|
"@vitejs/plugin-react": "4.7.0",
|
|
"c8": "10.1.3",
|
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
"eslint-plugin-react-refresh": "0.4.20",
|
|
"jsdom": "24.1.3",
|
|
"sinon": "18.0.1",
|
|
"typescript": "5.8.3",
|
|
"vite": "5.4.20",
|
|
"vite-plugin-css-injected-by-js": "3.5.2",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "1.6.1"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/react": "7.120.4",
|
|
"@tanstack/react-query": "4.36.1",
|
|
"@tinybirdco/charts": "0.2.4",
|
|
"@tryghost/admin-x-design-system": "0.0.0",
|
|
"@tryghost/shade": "0.0.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-router": "7.9.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|