refactor: add npm build script
This commit is contained in:
parent
53a8ec02df
commit
73cebdfa83
2 changed files with 5 additions and 3 deletions
3
justfile
3
justfile
|
|
@ -1,3 +1,2 @@
|
||||||
compile:
|
compile:
|
||||||
rm -rf ./tsp-output
|
npm run build
|
||||||
npx tsp compile .
|
|
||||||
|
|
@ -6,5 +6,8 @@
|
||||||
"@typespec/compiler": "latest",
|
"@typespec/compiler": "latest",
|
||||||
"@typespec/json-schema": "^0.56.0"
|
"@typespec/json-schema": "^0.56.0"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"build": "rm -rf ./tsp-output && npx tsp compile ."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue