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
|
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
4
package-lock.json
generated
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue