Add scripts to package.json
This commit is contained in:
parent
9f66af6969
commit
93d134614f
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user