Skip to content

Commit c1edcf9

Browse files
authored
chore: run build script before publish (#8)
1 parent 7d856b6 commit c1edcf9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-playwright",
3-
"version": "1.17.108",
3+
"version": "1.17.109",
44
"description": "Getting started with writing end-to-end tests with Playwright.",
55
"repository": "github:Microsoft/playwright",
66
"homepage": "https://playwright.dev",
@@ -18,7 +18,8 @@
1818
"scripts": {
1919
"build": "esbuild --bundle src/cli.ts --outfile=lib/index.js --platform=node --target=ES2019",
2020
"watch": "npm run build -- --watch",
21-
"test": "playwright test"
21+
"test": "playwright test",
22+
"prepublish": "npm run build"
2223
},
2324
"devDependencies": {
2425
"@playwright/test": "^1.18.1",

0 commit comments

Comments
 (0)