Skip to content

Commit f0564d3

Browse files
committed
chore: update start and test scripts in package.json to use npx for better compatibility
1 parent df525c2 commit f0564d3

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
@@ -48,14 +48,14 @@
4848
"typescript-lit-html-plugin": "^0.9.0"
4949
},
5050
"scripts": {
51-
"start": "web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .",
51+
"start": "npx web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .",
5252
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
5353
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
5454
"lint:types": "tsc",
5555
"lint": "npm run lint:eslint",
5656
"format": "npm run format:eslint",
57-
"test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
58-
"test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium",
57+
"test": "npx web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
58+
"test:watch": "npx web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium",
5959
"gen:wc": "wca analyze \"*.js\" --outFile custom-elements.json",
6060
"prepare": "node demo/model.js"
6161
},

0 commit comments

Comments
 (0)