Refactor code structure and create build command

This commit is contained in:
2024-11-14 23:19:16 +01:00
parent a95aae8c11
commit 1eabb801db
10 changed files with 453 additions and 12 deletions

View File

@@ -5,12 +5,16 @@
"main": "index.ts",
"scripts": {
"app": "tsx src/index.ts",
"test": "echo \"Error: no test specified\" && exit 1"
"build": "tsc && tsc-alias"
},
"bin": {
"oh-import": "./dist/index.js"
},
"author": "Bartłomiej Pluta",
"license": "ISC",
"devDependencies": {
"@types/node": "^22.9.0",
"tsc-alias": "^1.8.10",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
},