-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
75 lines (75 loc) · 2.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "playwright-ts",
"description": "Playwright TS framework is designed for Web (Desktop & Mobile), API, and Electron apps. Stable and Robust layer on top of Playwright with inbuilt Utilities, Linting, Logger, Web hooks, Github actions, Reports and much more",
"keywords": [
"playwright",
"typescript",
"testing"
],
"version": "1.0.0",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/vasu31dev/playwright-ts.git"
},
"author": {
"name": "Vasudeva Annam",
"email": "[email protected]"
},
"env": {
"node": true,
"browser": true
},
"lint-staged": {
"*.{json,md,ts}": [
"prettier --write"
],
"*.{ts}": "eslint --fix"
},
"dependencies": {
"@playwright/test": "^1.37.1",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"allure-commandline": "^2.23.1",
"allure-playwright": "^2.5.0",
"dotenv": "^16.3.1",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^46.4.6",
"eslint-plugin-playwright": "^0.15.3",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.0",
"prettier": "^3.0.2",
"typescript": "5.1.6",
"tslib": "^2.6.2",
"winston": "^3.10.0"
},
"scripts": {
"test": "playwright test",
"test:chromium": "playwright test --retries 0 --project=chromium",
"test:chromium-headed": "playwright test -j 1 --retries 0 --headed --project=chromium",
"test:reg": "playwright test --project=chromium -g '@reg'",
"test:smoke": "playwright test --project=chromium -g '@smoke'",
"report": "playwright show-report playwright-report",
"ui": "playwright test --ui-port 0",
"trace": "playwright show-trace --port 0",
"allure": "allure generate ./allure-results --clean && allure open ./allure-report",
"lint": "eslint 'tests/**/*.ts' 'src/**/*.ts' 'playwright.config.ts'",
"lint:fix": "eslint 'tests/**/*.ts' 'src/**/*.ts' 'playwright.config.ts' --fix",
"prepare": "husky install",
"format": "prettier --write 'tests/**/*.ts' 'src/**/*.ts' 'playwright.config.ts' '**/*.json' '**/*.md' '!package-lock.json' '!dist/**/*' '!build/**/*'",
"postinstall": "playwright install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}