Add entrypoint

This commit is contained in:
Michael Telatynski 2025-06-20 10:03:32 +01:00
parent 2af22fb54f
commit 683dfaef69

View File

@ -12,7 +12,16 @@
"engines": {
"node": ">=20.0.0"
},
"main": "lib/index.js",
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./stale-screenshots-reporter": {
"import": "./lib/stale-screenshots-reporter.js",
"types": "./lib/stale-screenshots-reporter.d.ts"
}
},
"bin": {
"playwright-screenshots": "playwright-screenshots.sh"
},