mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
54ce770ea3
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
57 lines
2.8 KiB
JSON
57 lines
2.8 KiB
JSON
{
|
|
"name": "@hcengineering/qms-tests-sanity",
|
|
"version": "0.6.0",
|
|
"main": "lib/index.js",
|
|
"svelte": "src/index.ts",
|
|
"types": "types/index.d.ts",
|
|
"author": "Hardcore Engineering Inc",
|
|
"template": "@hcengineering/default-package",
|
|
"license": "EPL-2.0",
|
|
"scripts": {
|
|
"build": "compile",
|
|
"build:watch": "compile",
|
|
"_phase:build": "compile transpile tests",
|
|
"_phase:test": "",
|
|
"_phase:format": "format src",
|
|
"_phase:validate": "compile validate",
|
|
"lint:fix": "eslint --fix tests",
|
|
"lint": "eslint tests",
|
|
"format": "format tests",
|
|
"ci": "playwright install --with-deps chromium",
|
|
"test": "",
|
|
"uitest": "cross-env LOCAL_URL=http://host.docker.internal:3003/ DEV_URL= playwright test -c ./tests/playwright.config.ts --grep-invert @PDF",
|
|
"uitest-pdf": "cross-env LOCAL_URL=http://host.docker.internal:3003/ DEV_URL= playwright test -c ./tests/playwright.config.ts --grep @PDF",
|
|
"staging-uitest": "cross-env PLATFORM_URI=https://front.hc.engineering/ playwright test -c ./tests/playwright.config.ts --grep @staging --grep-invert @PDF",
|
|
"dev-uitest": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://host.docker.internal:3333 SETTING=storage-dev.json SETTING_SECOND=storageSecond-dev.json DEV_URL=http://localhost:8080/account playwright test -c ./tests/playwright.config.ts --grep-invert @PDF",
|
|
"debug": "playwright test -c ./tests/playwright.config.ts --debug --headed",
|
|
"dev-debug": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://host.docker.internal:3333 SETTING=storage-dev.json SETTING_SECOND=storageSecond-dev.json playwright test -c ./tests/playwright.config.ts --debug --headed",
|
|
"codegen": "playwright codegen --load-storage storage.json http://host.docker.internal:8083/workbench/sanity-ws/",
|
|
"dev-codegen": "cross-env playwright codegen --load-storage storage-dev.json http://localhost:8080/workbench/sanity-ws/",
|
|
"allure:generate": "allure generate allure-results -o allure-report --clean"
|
|
},
|
|
"devDependencies": {
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
|
"@types/jest": "^29.5.5",
|
|
"@types/node": "~20.11.16",
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-n": "^15.4.0",
|
|
"eslint": "^8.54.0",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
"prettier": "^3.1.0",
|
|
"typescript": "^5.3.3",
|
|
"@playwright/test": "^1.48.2",
|
|
"allure-playwright": "^3.0.6",
|
|
"allure-js-commons": "^3.0.6",
|
|
"@faker-js/faker": "^8.4.1"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "~16.0.0",
|
|
"cross-env": "~7.0.3",
|
|
"@hcengineering/core": "^0.6.32",
|
|
"@hcengineering/client-resources": "^0.6.27"
|
|
}
|
|
}
|