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 build: node_modules
bin: tsc target/workTimeCalculator
tsc: node_modules
npm run build npm run build
node_modules: node_modules:
npm install npm install
clean: clean:
rm -r target rm -r target node_modules
run: tsc
node ./target/main.js

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "work-time-calculator", "name": "work-time-calculator",
"version": "1.0.0", "version": "0.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "work-time-calculator", "name": "work-time-calculator",
"version": "1.0.0", "version": "0.0.1",
"dependencies": { "dependencies": {
"chalk": "^5.3.0", "chalk": "^5.3.0",
"dayjs": "^1.11.10" "dayjs": "^1.11.10"