Skip to content

Commit 7b14244

Browse files
committed
Update test and start scripts in package.json to use npx for improved command execution consistency.
1 parent 4f639e8 commit 7b14244

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
"typescript-lit-html-plugin": "^0.9.0"
5757
},
5858
"scripts": {
59-
"start": "web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .",
59+
"start": "npx wds --app-index demo/index.html --node-resolve --open --watch --root-dir .",
6060
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
6161
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
6262
"lint:types": "tsc",
6363
"lint": "npm run lint:eslint",
6464
"format": "npm run format:eslint",
65-
"test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
66-
"test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium",
65+
"test": "npx wtr --coverage --playwright --browsers chromium firefox webkit",
66+
"test:watch": "npx wtr --watch --playwright --browsers chromium",
6767
"gen:wc": "wca analyze \"*.js\" --outFile custom-elements.json",
6868
"prepare": "node demo/model.js"
6969
},

0 commit comments

Comments
 (0)