e2e/client/package.json
{
"private": true,
"dependencies": {
"superdesk-core": "file:../../"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@superdesk/build-tools": "file:../../build-tools",
"@superdesk/end-to-end-testing-helpers": "1.0.11",
"@types/node": "^20.8.9",
"btoa": "1.2.1",
"grunt": "1.3.0",
"http-server": "14.1.1",
"jasmine-reporters": "2.5.2",
"protractor": "7.0.0",
"protractor-flake": "4.0.0",
"typescript": "4.9.3",
"webdriver-manager": "^12.1.9"
},
"scripts": {
"build": "npx @superdesk/build-tools build-root-repo ./",
"server": "grunt server",
"start-client-server": "http-server dist -p 9000 -s &",
"stop-client-server": "fuser -k 9000/tcp",
"playwright": "playwright test --workers 1",
"playwright-interactive": "playwright test --ui",
"protractor": "protractor protractor.conf.js",
"specs--compile": "find ./specs/ -name '*.js' -type f -delete && tsc -p ./specs",
"specs--watch": "find ./specs/ -name '*.js' -type f -delete && tsc -p ./specs -w",
"start-test-server": "cd ../server && docker-compose build && docker-compose up -d",
"stop-test-server": "cd ../server && docker-compose stop"
}
}