Add scripts to package.json

This commit is contained in:
Nepgfurmixpro 2024-05-15 20:32:48 -04:00
parent 9f66af6969
commit 93d134614f
3 changed files with 8 additions and 2 deletions

View File

@ -7,5 +7,10 @@
"eslint": "^9.2.0", "eslint": "^9.2.0",
"prettier": "^3.2.5", "prettier": "^3.2.5",
"typescript-eslint": "^7.9.0" "typescript-eslint": "^7.9.0"
},
"scripts": {
"build": "prettier ./src --write && tsc",
"start": "node dist/main.js",
"dev": "npm run build && npm run start"
} }
} }

View File

@ -5,9 +5,10 @@
"rootDir": "./src", "rootDir": "./src",
"baseUrl": "./", "baseUrl": "./",
"outDir": "./dist", "outDir": "./dist",
"sourceMap": true,
"sourceRoot": "./src", "sourceRoot": "./src",
"newLine": "lf", "newLine": "lf",
"declarationDir": "./decl", // "declarationDir": "./decl",
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"strict": true, "strict": true,