Add npm start to webgl package.json

This commit is contained in:
Daniel Imms
2023-09-08 10:35:38 -07:00
parent 47183b2939
commit 48ba5e5856
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
"build": "../../node_modules/.bin/tsc -p .",
"prepackage": "npm run build",
"package": "../../node_modules/.bin/webpack",
"prepublishOnly": "npm run package"
"prepublishOnly": "npm run package",
"start": "node ../../demo/start"
},
"peerDependencies": {
"xterm": "^5.0.0"
@@ -26,7 +26,7 @@ const config: PlaywrightTestConfig = {
],
reporter: 'list',
webServer: {
command: 'npm --cwd ../../.. start',
command: 'npm start',
port: 3000,
timeout: 120000,
reuseExistingServer: !process.env.CI