This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"name": "@tryghost/e2e",
|
||||
"version": "0.0.0",
|
||||
"repository": "https://github.com/TryGhost/Ghost/tree/main/e2e",
|
||||
"author": "Ghost Foundation",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "tsc --watch --preserveWatchOutput --noEmit",
|
||||
"build": "pnpm test:types",
|
||||
"build:ts": "tsc --noEmit",
|
||||
"build:apps": "pnpm nx run-many --target=build --projects=@tryghost/portal,@tryghost/comments-ui,@tryghost/sodo-search,@tryghost/signup-form,@tryghost/announcement-bar",
|
||||
"build:docker": "docker build -f Dockerfile.e2e --build-arg GHOST_IMAGE=${GHOST_E2E_BASE_IMAGE:?Set GHOST_E2E_BASE_IMAGE} -t ${GHOST_E2E_IMAGE:-ghost-e2e:local} ..",
|
||||
"pretest": "test -n \"$CI\" || echo 'Tip: run pnpm dev or pnpm --filter @tryghost/e2e infra:up before running tests'",
|
||||
"infra:up": "bash ./scripts/infra-up.sh",
|
||||
"infra:down": "bash ./scripts/infra-down.sh",
|
||||
"tinybird:sync": "node ./scripts/sync-tinybird-state.mjs",
|
||||
"preflight:build": "bash ./scripts/prepare-ci-e2e-build-mode.sh",
|
||||
"test": "bash ./scripts/run-playwright-host.sh playwright test --project=main",
|
||||
"test:analytics": "bash ./scripts/run-playwright-host.sh playwright test --project=analytics",
|
||||
"test:all": "bash ./scripts/run-playwright-host.sh playwright test --project=main --project=analytics",
|
||||
"test:single": "bash ./scripts/run-playwright-host.sh playwright test --project=main -g",
|
||||
"test:debug": "bash ./scripts/run-playwright-host.sh playwright test --project=main --headed --timeout=60000 -g",
|
||||
"test:types": "tsc --noEmit",
|
||||
"lint": "eslint . --cache"
|
||||
},
|
||||
"files": [
|
||||
"build"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@eslint/js": "catalog:",
|
||||
"@faker-js/faker": "8.4.1",
|
||||
"@playwright/test": "1.59.1",
|
||||
"@tryghost/debug": "0.1.40",
|
||||
"@tryghost/logging": "2.5.5",
|
||||
"@types/dockerode": "3.3.47",
|
||||
"@types/express": "4.17.25",
|
||||
"busboy": "^1.6.0",
|
||||
"c8": "10.1.3",
|
||||
"dockerode": "4.0.10",
|
||||
"dotenv": "17.3.1",
|
||||
"eslint": "catalog:",
|
||||
"eslint-plugin-no-relative-import-paths": "1.6.1",
|
||||
"eslint-plugin-playwright": "2.10.1",
|
||||
"express": "4.21.2",
|
||||
"knex": "3.1.0",
|
||||
"mysql2": "3.18.1",
|
||||
"stripe": "8.222.0",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.9.3",
|
||||
"typescript-eslint": "8.58.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user