-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.35 KB
/
Copy pathpackage.json
File metadata and controls
37 lines (37 loc) · 1.35 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
{
"name": "@threespot/visual-regression",
"version": "0.2.0",
"description": "Playwright-based cross-browser visual regression testing for Threespot client sites.",
"license": "MIT",
"main": "src/index.js",
"bin": {
"vrt": "bin/vrt.js"
},
"files": [
"bin",
"src",
"tests",
"example",
"playwright.config.js",
"README.md"
],
"scripts": {
"test:cli": "node bin/vrt.js",
"version:patch": "npm version patch -m \"version %s\"",
"version:minor": "npm version minor -m \"version %s\"",
"version:major": "npm version major -m \"version %s\"",
"release:patch": "bash -c 'read -p \"Confirm new patch version (e.g. 0.1.0 → 0.1.1) to GitHub? (y/N) \" -n 1 -r && echo && [[ \"$REPLY\" =~ ^[Yy]$ ]] && yarn version:patch'",
"release:minor": "bash -c 'read -p \"Confirm new minor version (e.g. 0.1.0 → 0.2.0) to GitHub? (y/N) \" -n 1 -r && echo && [[ \"$REPLY\" =~ ^[Yy]$ ]] && yarn version:minor'",
"release:major": "bash -c 'read -p \"Confirm new major version (e.g. 0.1.0 → 1.0.0) to GitHub? (y/N) \" -n 1 -r && echo && [[ \"$REPLY\" =~ ^[Yy]$ ]] && yarn version:major'",
"postversion": "git push && git push --tags"
},
"dependencies": {
"@playwright/test": "^1.49.0",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0"
},
"engines": {
"node": ">=24.0.0"
},
"packageManager": "yarn@4.15.0"
}