mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-21 18:41:40 +03:00
56 lines
2.6 KiB
JSON
56 lines
2.6 KiB
JSON
{
|
|
"name": "@hcengineering/tests-sanity",
|
|
"version": "0.6.1",
|
|
"main": "lib/index.js",
|
|
"svelte": "src/index.ts",
|
|
"types": "types/index.d.ts",
|
|
"author": "Anticrm Platform Contributors",
|
|
"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://localhost:3003/ DEV_URL= playwright test -c ./tests/playwright.config.ts",
|
|
"staging-uitest": "cross-env PLATFORM_URI=https://front.hc.engineering/ playwright test -c ./tests/playwright.config.ts --grep @staging",
|
|
"dev-uitest": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://localhost:3333 SETTING=storage-dev.json SETTING_SECOND=storageSecond-dev.json DEV_URL=http://localhost:8080/account playwright test -c ./tests/playwright.config.ts",
|
|
"debug": "cross-env LOCAL_URL=http://localhost:3003/ DEV_URL= playwright test -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 SETTING_SECOND=storageSecond-dev.json playwright test -c ./tests/playwright.config.ts --debug --headed",
|
|
"codegen": "playwright codegen --load-storage storage.json http://localhost: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"
|
|
}
|
|
}
|