File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 28
28
"lint" : " eslint --ignore-path .gitignore ." ,
29
29
"semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
30
30
"test" : " npm run test:node && npm run test:browser" ,
31
- "pretest:browser" : " npm run build" ,
31
+ "pretest:browser" : " npx playwright install && npm run build" ,
32
32
"test:browser" : " wtr" ,
33
33
"pretest:node" : " npm run build" ,
34
34
"test:node" : " mocha" ,
35
35
"build" : " npm run build:lib && npm run build:esm-bundle && npm run build:cjs-bundle" ,
36
36
"build:lib" : " esbuild \" src/*.ts\" --outdir=lib --format=esm" ,
37
37
"build:esm-bundle" : " esbuild --bundle src/index.ts --outfile=loupe.js --format=esm" ,
38
38
"build:cjs-bundle" : " esbuild --bundle src/index.ts --outfile=loupe.js --format=cjs" ,
39
- "upload-coverage" : " codecov" ,
40
- "postinstall" : " npx playwright install"
39
+ "upload-coverage" : " codecov"
41
40
},
42
41
"eslintConfig" : {
43
42
"root" : true ,
You can’t perform that action at this time.
0 commit comments