Clean up Makefile, update package-lock

This commit is contained in:
Marko Korhonen 2023-11-11 17:27:29 +02:00
parent b1c9213f22
commit 13443a4d26
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 4 additions and 11 deletions

View file

@ -1,15 +1,8 @@
build: node_modules bin
bin: tsc target/workTimeCalculator
tsc: node_modules
build: node_modules
npm run build
node_modules:
npm install
clean:
rm -r target
run: tsc
node ./target/main.js
rm -r target node_modules