Clean up Makefile, update package-lock
This commit is contained in:
parent
b1c9213f22
commit
13443a4d26
2 changed files with 4 additions and 11 deletions
11
Makefile
11
Makefile
|
@ -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
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "work-time-calculator",
|
||||
"version": "1.0.0",
|
||||
"version": "0.0.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "work-time-calculator",
|
||||
"version": "1.0.0",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"chalk": "^5.3.0",
|
||||
"dayjs": "^1.11.10"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue