2023-11-14 16:50:08 +03:00
|
|
|
{
|
|
|
|
"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": {
|
|
|
|
".": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/index.js",
|
|
|
|
"require": "./dist/index.cjs",
|
2023-11-20 14:00:51 +03:00
|
|
|
"types": "./types/index.d.ts"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"./errors": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/errors.js",
|
|
|
|
"require": "./dist/errors.cjs",
|
2023-11-20 14:00:51 +03:00
|
|
|
"types": "./types/errors.d.ts"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"./helpers": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/helpers.js",
|
|
|
|
"require": "./dist/helpers.cjs",
|
2023-11-20 14:00:51 +03:00
|
|
|
"types": "./types/helpers.d.ts"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"./hooks": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/hooks.js",
|
|
|
|
"require": "./dist/hooks.cjs",
|
2023-11-20 14:00:51 +03:00
|
|
|
"types": "./types/hooks.d.ts"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"./routing": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/routing.js",
|
|
|
|
"require": "./dist/routing.cjs",
|
2023-11-20 14:00:51 +03:00
|
|
|
"types": "./types/routing.d.ts"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"./api/*": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/api/*.js",
|
|
|
|
"require": "./dist/api/*.cjs",
|
2023-11-20 14:00:51 +03:00
|
|
|
"types": "./types/api/*.d.ts"
|
2023-11-20 16:30:15 +03:00
|
|
|
},
|
|
|
|
"./vite": {
|
2023-11-22 16:39:32 +03:00
|
|
|
"import": "./dist/vite.js",
|
|
|
|
"require": "./dist/vite.cjs",
|
2023-11-20 16:30:15 +03:00
|
|
|
"types": "./types/vite.d.ts"
|
2023-11-22 16:39:32 +03:00
|
|
|
},
|
|
|
|
"./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"
|
2023-11-14 16:50:08 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"sideEffects": false,
|
|
|
|
"scripts": {
|
2023-12-13 11:55:58 +03:00
|
|
|
"build": "concurrently \"vite build\" \"tsc -p tsconfig.declaration.json\"",
|
2023-11-14 16:50:08 +03:00
|
|
|
"prepare": "yarn build",
|
2023-11-20 14:00:51 +03:00
|
|
|
"test": "yarn test:types && yarn test:unit",
|
2023-11-14 16:50:08 +03:00
|
|
|
"test:types": "tsc --noEmit",
|
2023-11-20 14:00:51 +03:00
|
|
|
"test:unit": "vitest run --coverage",
|
2023-11-14 16:50:08 +03:00
|
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
|
2023-11-20 14:00:51 +03:00
|
|
|
"lint": "yarn lint:code && yarn lint:test",
|
2023-11-14 16:50:08 +03:00
|
|
|
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx test/ --cache"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"es",
|
|
|
|
"types"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2023-11-20 14:00:51 +03:00
|
|
|
"@testing-library/react": "14.1.0",
|
|
|
|
"@types/mocha": "10.0.1",
|
2023-11-14 16:50:08 +03:00
|
|
|
"c8": "8.0.1",
|
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
|
|
"eslint-plugin-react-refresh": "0.4.3",
|
2024-05-27 10:40:29 +03:00
|
|
|
"jsdom": "24.1.0",
|
2023-11-14 16:50:08 +03:00
|
|
|
"mocha": "10.2.0",
|
2024-05-01 10:39:59 +03:00
|
|
|
"react": "18.3.1",
|
|
|
|
"react-dom": "18.3.1",
|
2023-11-14 16:50:08 +03:00
|
|
|
"sinon": "17.0.0",
|
2023-12-08 17:18:56 +03:00
|
|
|
"ts-node": "10.9.2",
|
2024-04-15 10:50:07 +03:00
|
|
|
"typescript": "5.4.5"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-21 14:57:27 +03:00
|
|
|
"@sentry/react": "7.118.0",
|
2023-11-14 16:50:08 +03:00
|
|
|
"@tanstack/react-query": "4.36.1",
|
2023-11-20 16:30:15 +03:00
|
|
|
"@tryghost/admin-x-design-system": "0.0.0",
|
2024-05-24 00:15:26 +03:00
|
|
|
"@types/react": "18.3.3",
|
2024-04-30 22:48:58 +03:00
|
|
|
"@types/react-dom": "18.3.0",
|
2023-12-04 21:17:20 +03:00
|
|
|
"@vitejs/plugin-react": "4.2.1",
|
2024-05-27 18:29:32 +03:00
|
|
|
"react": "18.3.1",
|
|
|
|
"react-dom": "18.3.1",
|
2024-04-16 10:11:32 +03:00
|
|
|
"vite": "4.5.3",
|
2023-11-20 16:30:15 +03:00
|
|
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
|
|
"vite-plugin-svgr": "3.3.0",
|
2023-12-13 11:11:05 +03:00
|
|
|
"vitest": "0.34.3"
|
2023-11-14 16:50:08 +03:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0"
|
|
|
|
},
|
|
|
|
"nx": {
|
|
|
|
"targets": {
|
2023-12-13 12:26:33 +03:00
|
|
|
"dev": {
|
2023-11-14 16:50:08 +03:00
|
|
|
"dependsOn": [
|
2023-12-13 12:26:33 +03:00
|
|
|
"^build"
|
2023-11-14 16:50:08 +03:00
|
|
|
]
|
2023-11-20 14:00:51 +03:00
|
|
|
},
|
|
|
|
"test:unit": {
|
|
|
|
"dependsOn": [
|
|
|
|
"test:unit",
|
2023-12-13 12:26:33 +03:00
|
|
|
"^build"
|
2023-11-20 14:00:51 +03:00
|
|
|
]
|
2023-11-14 16:50:08 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|