mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
ref https://linear.app/ghost/issue/DES-1082/router-prototype This task is about testing, figuring out pros and cons of React Router compared to our current (custom) router, and what effort and risks are involved in migrating to it.
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "@tryghost/posts",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/apps/posts"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/posts.umd.cjs",
|
|
"module": "./dist/posts.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"dev:start": "vite",
|
|
"build": "tsc && vite build",
|
|
"lint": "yarn run lint:code && yarn run lint:test",
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx --cache src",
|
|
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx --cache test",
|
|
"preview": "vite preview"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "14.3.1",
|
|
"@tryghost/admin-x-framework": "0.0.0",
|
|
"@tryghost/shade": "0.0.0",
|
|
"@types/react": "18.3.3",
|
|
"@types/react-dom": "18.3.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:acceptance": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {}
|
|
}
|