-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.68 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 3.68 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "playwright-javascript",
"version": "1.0.0",
"description": "Production-ready E2E test automation framework built with Playwright and JavaScript. Features Page Object Model, Allure reporting, SauceLabs cloud integration, and CI/CD optimization.",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/codewithmmak/playwright-javascript.git"
},
"bugs": {
"url": "https://github.com/codewithmmak/playwright-javascript/issues"
},
"homepage": "https://github.com/codewithmmak/playwright-javascript#readme",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"prepare": "husky install",
"clean": "rimraf allure-report/ && rimraf playwright-report/",
"ci:verify": "npm run format:check && npm run lint && npm run test:ci",
"test": "playwright test",
"test:dev": "dotenv -e .env.dev -- playwright test",
"test:qa": "dotenv -e .env.qa -- playwright test",
"test:uat": "dotenv -e .env.uat -- playwright test",
"test:ci": "npm run clean && playwright test --reporter=line",
"lint": "eslint . --ext .js",
"lint:fix": "eslint . --ext .js --fix",
"format": "prettier --write \"**/*.{js,json,md}\"",
"format:check": "prettier --check \"**/*.{js,json,md}\"",
"headedTest": "playwright test --headed",
"single-test-file": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=line",
"test-list-reporter": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=list",
"test-line-reporter": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=line",
"test-dot-reporter": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=dot",
"test-html-reporter": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=html",
"test-json-reporter": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=json",
"test-junit-reporter": "npm run clean && playwright test e2e-tests/cart.spec.js --reporter=junit",
"e2e": "npm run clean && playwright test -c e2e.config.js",
"e2e:dev": "dotenv -e .env.dev -- npm run clean && dotenv -e .env.dev -- playwright test -c e2e.config.js",
"e2e:qa": "dotenv -e .env.qa -- npm run clean && dotenv -e .env.qa -- playwright test -c e2e.config.js",
"e2e:uat": "dotenv -e .env.uat -- npm run clean && dotenv -e .env.uat -- playwright test -c e2e.config.js",
"e2e-commandline-reporter": "npm run clean && playwright test -c e2e.config.js --reporter=line,./my-awesome-reporter.js,allure-playwright",
"sauce:check": "node -e \"require('./saucelabs.config.js'); console.log('Sauce config is valid');\"",
"allure-report": "npx allure generate ./allure-results && allure open"
},
"keywords": [
"playwright",
"e2e",
"e2e-testing",
"test-automation",
"testing-framework",
"javascript",
"nodejs",
"page-object-model",
"pom",
"allure-reporting",
"saucelabs",
"cloud-testing",
"ci-cd",
"continuous-integration",
"end-to-end-testing",
"automated-testing",
"web-testing",
"browser-automation",
"headless-browser",
"qa-automation"
],
"author": "Code with MMAK",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"allure-commandline": "^2.41.0",
"allure-playwright": "^3.9.0",
"copyfiles": "^2.4.1",
"dotenv": "^17.4.2",
"dotenv-cli": "^11.0.0",
"eslint": "^10.4.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-no-only-tests": "^3.4.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.5",
"npm-check-updates": "^22.2.0",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"saucectl": "^0.205.2"
}
}