Skip to content

Commit 61eb3f0

Browse files
authored
Place playwright in a pretest script (#7)
1 parent 7a0642c commit 61eb3f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
"build:wasm": "GOARCH=wasm GOOS=js go build -o superdb.wasm.full main.go && gzip -9 superdb.wasm.full -c > superdb.wasm && rm superdb.wasm.full",
1414
"build:wasm_exec": "cp $(go env GOROOT)/lib/wasm/wasm_exec.js .",
1515
"prepack": "yarn clean && yarn build",
16-
"postinstall": "yarn playwright install && yarn build",
16+
"postinstall": "yarn build",
1717
"clean": "rm -fr superdb.wasm",
18+
"pretest": "yarn playwright install",
1819
"test": "yarn playwright test",
1920
"start": "serve ."
2021
},

0 commit comments

Comments
 (0)