diff --git a/justfile b/justfile index b0ae6e0..3e2263b 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,2 @@ compile: - rm -rf ./tsp-output - npx tsp compile . \ No newline at end of file + npm run build \ No newline at end of file diff --git a/package.json b/package.json index df3bb98..f8eb080 100644 --- a/package.json +++ b/package.json @@ -6,5 +6,8 @@ "@typespec/compiler": "latest", "@typespec/json-schema": "^0.56.0" }, - "private": true + "private": true, + "scripts": { + "build": "rm -rf ./tsp-output && npx tsp compile ." + } }