Skip to content

Commit

Permalink
add npx in front of scripts to make it work on windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmd-azeez committed Jul 4, 2024
1 parent 7e9221a commit f599a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "<%= project.description %>",
"main": "src/index.ts",
"scripts": {
"build": "tsc --noEmit && node esbuild.js && extism-js dist/index.js -i src/index.d.ts -o dist/plugin.wasm",
"format": "prettier --write \"src/**/*.{ts,tsx}\""
"build": "npx tsc --noEmit && node esbuild.js && extism-js dist/index.js -i src/index.d.ts -o dist/plugin.wasm",
"format": "npx prettier --write \"src/**/*.{ts,tsx}\""
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit f599a43

Please sign in to comment.