generated from mmisty/cypress-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
148 lines (148 loc) · 6.99 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "@mmisty/cypress-allure-adapter",
"version": "0.0.0",
"description": "cypress allure adapter to generate allure results during tests execution (Allure TestOps compatible)",
"main": "index.js",
"repository": "[email protected]:mmisty/cypress-allure-adapter.git",
"homepage": "https://github.com/mmisty/cypress-allure-adapter#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"cypress",
"e2e",
"tests",
"typescript",
"allure",
"TestOps",
"plugins",
"reporter",
"cypress-allure-adapter",
"@mmisty/cypress-allure-adapter"
],
"peerDependencies": {
"cypress": ">= 11.x"
},
"license": "MIT",
"author": "Taisia Pitko (mmisty) <[email protected]>",
"scripts": {
"husky:install": "husky install",
"lint": "eslint --fix '**/*.{ts,tsx,js}'",
"test:jest:cy": "QUIET=false COVERAGE=true jest --runInBand --testPathPattern=\"tests/test-folder/mocha-events\" --reporters=default --reporters=jest-junit",
"test:jest": "QUIET=true COVERAGE=true jest --runInBand --coverage --testPathIgnorePatterns=\"tests/test-folder/(mocha-events)|(allure-plugin)\" --reporters=default --reporters=jest-junit",
"test:cov": "npm run test:jest && npm run test:jest:cy && npm run cov:merge",
"cy": "cypress",
"cy:open": "npm run cy -- open --e2e",
"cy:open:cuc": "npm run cy -- open --e2e --config-file cypress.cucumber.config.ts",
"cy:run": "npm run cy -- run --browser chrome --headless",
"cy:run:cuc:grep": "npm run cy:run -- --config-file cypress.cucumber.config.ts",
"cy:run:grep": "CYPRESS_GREP_RESULTS_FILE='./filtered_tests.json' cy-grep --script 'npm run cy:run'",
"cy:run:cov": "COVERAGE_REPORT_DIR=reports/coverage-cypress COVERAGE=true npm run cy -- run || true",
"cy:open:cov": "COVERAGE_REPORT_DIR=reports/coverage-cypress COVERAGE=true npm run cy -- open",
"build": "rm -rf lib && tsc --project tsconfig.build.json",
"build:tests": "tsc && cd tests && tsc",
"build:cy": "cd integration && tsc",
"build:all": "npm run build && npm run build:cy && npm run build:tests",
"cov:fin": "npx nyc report -t reports/coverage-full --report-dir reports/coverage-full-total",
"cov:merge": "node ./.scripts/merge.js --cypress reports/coverage-cypress --jest reports/coverage-jest --out reports/coverage-temp --report reports/coverage-full && npm run cov:fin",
"cov": "http-server reports/coverage-full/lcov-report",
"cov:jest": "http-server reports/coverage-jest/lcov-report",
"cov:cy": "http-server reports/coverage-cypress/lcov-report",
"cov:check": "COVERAGE_TEMP=reports/coverage-temp nyc check-coverage",
"all": "npm run pre && npm run cov:check && npm run cov",
"pre": "rm -rf ./node_modules/.cache lib reports coverage-nyc .nyc_output && npm run lint && npm run build:all && npm run test:cov && npm run cov:merge",
"pack": "npm run build && npm run update:badge && cp package.json ./lib/package.json && cp README.md ./lib/README.md && cp CHANGELOG.md ./lib/CHANGELOG.md && sh .scripts/remove.sh && cd lib && npm version $ver --no-git-tag-version ",
"prepublish": "npm run lint && npm run update:badge",
"update:badge": "node ./.scripts/update-badge.js",
"prepublishOnly": "{ echo \"Run script 'npm run publish:pack', 'npm run publish:minor', etc from package.json\n\"; exit 1; }",
"publishPack": "npm run pack && cd lib && npm publish --tag $TAG",
"publish:alpha": "export TAG=alpha && export ver=$(semver $(npm show . version --tag alpha || npm show . version) --increment -i prerelease --preid 'alpha') && npm run publishPack && npm run postpublish",
"publish:beta": "export TAG=beta && export ver=$(semver $(npm show . version --tag beta || npm show . version) --increment -i prerelease --preid 'beta') && npm run publishPack && npm run postpublish && npm deprecate -f \"@mmisty/cypress-allure-adapter@$ver\" \"this package version has been deprecated\"",
"publish:alpha:init": "export TAG=alpha && export ver=$(semver $(npm show . version) --increment -i prerelease --preid 'alpha') && npm run publishPack && npm run postpublish",
"publish:patch": "export TAG=latest && export ver=$(semver $(npm show . version) --increment -i patch) && npm run publishPack && npm run postpublish",
"publish:minor": "export TAG=latest && export ver=$(semver $(npm show . version) --increment -i minor) && npm run publishPack && npm run postpublish",
"publish:major": "export TAG=latest && export ver=$(semver $(npm show . version) --increment -i major) && npm run publishPack && npm run postpublish",
"publish:pack": "export TAG=alpha && export ver=\"0.13.1-alpha.1\" && npm run publishPack && npm run postpublish",
"postpublish": "git tag v$ver"
},
"overrides": {
"loader-utils": "1.4.2"
},
"jest-junit": {
"suiteName": "jest tests",
"outputDirectory": "./reports/jest",
"outputName": "junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^20.1.2",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.1",
"@cypress/code-coverage": "^3.12.39",
"@ephesoft/webpack.istanbul.loader": "^2.2.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@mmisty/cypress-grep": "^1.9.11",
"@types/cors": "^2.8.17",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.34",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"allure-commandline": "^2.30.0",
"cypress": "^13.15.0",
"cypress-redirect-browser-log": "^1.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"express": "^4.19.2",
"husky": "^9.0.11",
"istanbul-lib-coverage": "^3.2.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-test-each": "^0.9.1",
"nyc": "^17.0.0",
"ts-jest": "^29.1.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.4.5",
"webpack": "^5.92.0"
},
"dependencies": {
"@mmisty/cypress-tags": "^1.0.17",
"allure-js-commons": "2.15.1",
"allure-js-parser": "^0.0.10",
"debug": "4.3.7",
"events": "3.3.0",
"fast-glob": "3.3.2",
"net": "^1.0.2",
"uuid": "10.0.0",
"uuid-by-string": "4.0.0",
"ws": "8.18.0"
},
"cypress-cucumber-preprocessor": {
"stepDefinitions": [
"integration/cucumber-steps/**/*.{js,ts}",
"integration/cucumber/**/*.{js,ts}"
]
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"volta": {
"node": "18.12.0",
"npm": "8.19.2"
}
}