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": {
|
|
|
|
".": {
|
|
|
|
"import": "./es/index.js",
|
|
|
|
"types": "./types/index.d.ts"
|
|
|
|
},
|
|
|
|
"./errors": {
|
|
|
|
"import": "./es/errors.js",
|
|
|
|
"types": "./types/errors.d.ts"
|
|
|
|
},
|
|
|
|
"./helpers": {
|
|
|
|
"import": "./es/helpers.js",
|
|
|
|
"types": "./types/helpers.d.ts"
|
|
|
|
},
|
|
|
|
"./hooks": {
|
|
|
|
"import": "./es/hooks.js",
|
|
|
|
"types": "./types/hooks.d.ts"
|
|
|
|
},
|
|
|
|
"./routing": {
|
|
|
|
"import": "./es/routing.js",
|
|
|
|
"types": "./types/routing.d.ts"
|
|
|
|
},
|
|
|
|
"./api/*": {
|
|
|
|
"import": "./es/api/*.js",
|
|
|
|
"types": "./types/api/*.d.ts"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sideEffects": false,
|
|
|
|
"scripts": {
|
|
|
|
"build": "vite build && tsc -p tsconfig.declaration.json",
|
|
|
|
"prepare": "yarn build",
|
|
|
|
"test": "yarn test:types",
|
|
|
|
"test:types": "tsc --noEmit",
|
|
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
|
|
|
|
"lint": "yarn lint:code && (yarn lint:test || echo \"TODO ADD TESTS TO LINT\")",
|
|
|
|
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx test/ --cache"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"es",
|
|
|
|
"types"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2023-11-16 17:43:05 +03:00
|
|
|
"@vitejs/plugin-react": "4.2.0",
|
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",
|
|
|
|
"mocha": "10.2.0",
|
|
|
|
"sinon": "17.0.0",
|
|
|
|
"ts-node": "10.9.1",
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
"typescript": "5.2.2",
|
|
|
|
"vite": "4.5.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-11-15 14:17:43 +03:00
|
|
|
"@sentry/react": "7.80.1",
|
2023-11-14 16:50:08 +03:00
|
|
|
"@tanstack/react-query": "4.36.1",
|
|
|
|
"@tryghost/admin-x-design-system": "0.0.0"
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0"
|
|
|
|
},
|
|
|
|
"nx": {
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"dependsOn": [
|
|
|
|
"build",
|
|
|
|
{"projects": ["@tryghost/admin-x-design-system"], "target": "build"}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|