Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change postinstall to pretest script. #73

Merged
merged 3 commits into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@
"lint": "eslint --ignore-path .gitignore .",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "npm run test:node && npm run test:browser",
"pretest:browser": "npm run build",
"pretest:browser": "npx playwright install && npm run build",
"test:browser": "wtr",
"pretest:node": "npm run build",
"test:node": "mocha",
"build": "npm run build:lib && npm run build:esm-bundle && npm run build:cjs-bundle",
"build:lib": "esbuild \"src/*.ts\" --outdir=lib --format=esm",
"build:esm-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=esm",
"build:cjs-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=cjs",
"upload-coverage": "codecov",
"postinstall": "npx playwright install"
"upload-coverage": "codecov"
},
"eslintConfig": {
"root": true,
Expand Down
Loading