From f599a43808856a68860c8ae2243389444d674ec1 Mon Sep 17 00:00:00 2001 From: Muhammad Azeez Date: Thu, 4 Jul 2024 14:58:53 +0300 Subject: [PATCH] add npx in front of scripts to make it work on windows too --- template/package.json.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/package.json.ejs b/template/package.json.ejs index 619421b..d09b9b5 100644 --- a/template/package.json.ejs +++ b/template/package.json.ejs @@ -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": "",