Add scripts to package.json
This commit is contained in:
parent
9f66af6969
commit
93d134614f
|
|
@ -7,5 +7,10 @@
|
|||
"eslint": "^9.2.0",
|
||||
"prettier": "^3.2.5",
|
||||
"typescript-eslint": "^7.9.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "prettier ./src --write && tsc",
|
||||
"start": "node dist/main.js",
|
||||
"dev": "npm run build && npm run start"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
console.log("Hello World!");
|
||||
console.log("Hello World!");
|
||||
|
|
|
|||
|
|
@ -5,9 +5,10 @@
|
|||
"rootDir": "./src",
|
||||
"baseUrl": "./",
|
||||
"outDir": "./dist",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "./src",
|
||||
"newLine": "lf",
|
||||
"declarationDir": "./decl",
|
||||
// "declarationDir": "./decl",
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user