mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 22:13:20 +03:00
a8083960d8
refs https://github.com/TryGhost/Product/issues/4182 Updated framework to include shared test config for easier app setup.
72 lines
2.0 KiB
JSON
72 lines
2.0 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-demo",
|
|
"version": "0.0.20",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/apps/admin-x-demo"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/admin-x-demo.umd.cjs",
|
|
"module": "./dist/admin-x-demo.js",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"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",
|
|
"test:unit": "yarn nx build && vitest run",
|
|
"test:acceptance": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
|
|
"test:acceptance:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 yarn test:acceptance --headed",
|
|
"test:acceptance:full": "ALL_BROWSERS=1 yarn test:acceptance",
|
|
"preview": "vite preview"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "14.1.0",
|
|
"@tryghost/admin-x-design-system": "0.0.0",
|
|
"@tryghost/admin-x-framework": "0.0.0",
|
|
"@types/react": "18.2.38",
|
|
"@types/react-dom": "18.2.17",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"build",
|
|
{
|
|
"projects": [
|
|
"@tryghost/admin-x-design-system",
|
|
"@tryghost/admin-x-framework"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
},
|
|
"test:acceptance": {
|
|
"dependsOn": [
|
|
"test:acceptance",
|
|
{
|
|
"projects": [
|
|
"@tryghost/admin-x-design-system",
|
|
"@tryghost/admin-x-framework"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|