Add binary
This commit is contained in:
parent
d56facf589
commit
349cae5f11
3 changed files with 9 additions and 0 deletions
2
bin/wtc
Executable file
2
bin/wtc
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env node
|
||||
import '../target/main.js';
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -7,10 +7,14 @@
|
|||
"": {
|
||||
"name": "work-time-calculator",
|
||||
"version": "0.0.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"chalk": "^5.3.0",
|
||||
"dayjs": "^1.11.10"
|
||||
},
|
||||
"bin": {
|
||||
"wtc": "bin/wtc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.9.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
"description": "CLI work time calculation utility",
|
||||
"type": "module",
|
||||
"main": "src/main.ts",
|
||||
"bin": {
|
||||
"wtc": "./bin/wtc"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue