Add entrypoint
This commit is contained in:
@@ -12,7 +12,16 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"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": {
|
"bin": {
|
||||||
"playwright-screenshots": "playwright-screenshots.sh"
|
"playwright-screenshots": "playwright-screenshots.sh"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user