mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
a596b3aaca
ref https://www.notion.so/AdminX-testing-plan-99b2dab27e794fc893767ccd01c84a63?d=26612fc2b9d84e65bbb269fa3bc5079e&pvs=4#f0089cd4d9f24e93bd7f8e2868987bf6 This pull request renames the end-to-end tests to acceptance tests in the `apps/admin-x-settings` folder. It updates the `ci.yml` file, the `package.json` file, the `playwright.config.ts` file, and the test files to reflect the new naming convention. This change aims to better reflect the purpose and scope of the tests.
95 lines
2.9 KiB
JSON
95 lines
2.9 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-settings",
|
|
"version": "0.0.20",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/admin-x-settings"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/admin-x-settings.umd.cjs",
|
|
"module": "./dist/admin-x-settings.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/admin-x-settings.js",
|
|
"require": "./dist/admin-x-settings.umd.cjs"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"dev:start": "vite",
|
|
"build": "tsc && vite build",
|
|
"lint": "yarn run lint:js",
|
|
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
|
|
"test:unit": "yarn build && vitest run",
|
|
"test:acceptance": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
|
|
"test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 yarn test:acceptance --headed",
|
|
"test:acceptance:full": "ALL_BROWSERS=1 yarn test:acceptance",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-html": "^6.4.5",
|
|
"@dnd-kit/core": "6.0.8",
|
|
"@dnd-kit/sortable": "7.0.2",
|
|
"@ebay/nice-modal-react": "1.2.10",
|
|
"@sentry/react": "7.70.0",
|
|
"@tanstack/react-query": "4.35.7",
|
|
"@tryghost/color-utils": "0.1.24",
|
|
"@tryghost/limit-service": "^1.2.10",
|
|
"@tryghost/nql": "0.11.0",
|
|
"@tryghost/timezone-data": "0.3.0",
|
|
"@uiw/react-codemirror": "^4.21.9",
|
|
"clsx": "2.0.0",
|
|
"react": "18.2.0",
|
|
"react-colorful": "^5.1.2",
|
|
"react-dom": "18.2.0",
|
|
"validator": "7.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.38.1",
|
|
"@storybook/addon-essentials": "7.4.0",
|
|
"@storybook/addon-interactions": "7.4.0",
|
|
"@storybook/addon-links": "7.4.0",
|
|
"@storybook/addon-styling": "1.3.7",
|
|
"@storybook/blocks": "7.4.0",
|
|
"@storybook/react": "7.4.0",
|
|
"@storybook/react-vite": "7.4.0",
|
|
"@storybook/testing-library": "0.2.2",
|
|
"@tailwindcss/forms": "0.5.6",
|
|
"@tailwindcss/line-clamp": "0.4.4",
|
|
"@types/react": "18.2.22",
|
|
"@types/react-dom": "18.2.7",
|
|
"@types/validator": "13.11.1",
|
|
"@vitejs/plugin-react": "4.1.0",
|
|
"autoprefixer": "10.4.16",
|
|
"concurrently": "8.2.1",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-react-refresh": "0.4.3",
|
|
"eslint-plugin-tailwindcss": "3.13.0",
|
|
"postcss": "8.4.31",
|
|
"postcss-import": "15.1.0",
|
|
"prop-types": "15.8.1",
|
|
"react-hot-toast": "2.4.1",
|
|
"react-select": "5.7.7",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"storybook": "7.4.0",
|
|
"stylelint": "15.10.3",
|
|
"tailwindcss": "3.3.3",
|
|
"vite": "4.4.9",
|
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "0.34.3"
|
|
}
|
|
}
|