platform/tests/sanity/package.json
Andrey Sobolev e6a69e0012
Few fixes and uitest local setup (#1698)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-05-10 14:31:46 +07:00

42 lines
1.9 KiB
JSON

{
"name": "@anticrm/tests-sanity",
"version": "0.6.1",
"template": "@anticrm/default-package",
"author": "Anticrm Platform Contributors",
"license": "EPL-2.0",
"scripts": {
"build": "",
"build:watch": "",
"lint:fix": "eslint --fix tests",
"lint": "eslint tests",
"format": "prettier --write tests && eslint --fix tests",
"ci": "playwright install --with-deps chromium",
"test": "",
"uitest": "playwright test --browser chromium --reporter list,html -c ./tests/playwright.config.ts",
"dev-uitest": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://localhost:3333 SETTING=storage-dev.json playwright test --browser chromium --reporter list,html -c ./tests/playwright.config.ts",
"debug": "playwright test --browser chromium -c ./tests/playwright.config.ts --debug --headed",
"dev-debug": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://localhost:3333 SETTING=storage-dev.json playwright test --browser chromium -c ./tests/playwright.config.ts --debug --headed",
"codegen": "playwright codegen --load-storage storage.json http://localhost:8083/workbench%3Acomponent%3AWorkbenchApp",
"dev-codegen": "cross-env playwright codegen --load-storage storage-dev.json http://localhost:8080/workbench%3Acomponent%3AWorkbenchApp"
},
"devDependencies": {
"@anticrm/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.2",
"@types/node": "~16.11.12",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint": "^7.32.0",
"@typescript-eslint/parser": "^5.4.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"prettier": "^2.4.1",
"typescript": "^4.3.5",
"@playwright/test": "~1.18.0"
},
"dependencies": {
"dotenv": "~16.0.0",
"cross-env": "~7.0.3"
}
}