Add cleaning of output files

This commit is contained in:
László Károlyi 2022-10-29 18:20:43 +02:00
parent 77cbbb2930
commit b9d1012ae7
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE

View file

@ -4,7 +4,8 @@
"description": "Spam handler for KSOL IT Services GmbH", "description": "Spam handler for KSOL IT Services GmbH",
"main": "index.mjs", "main": "index.mjs",
"scripts": { "scripts": {
"build:start": "npx tsc && node .", "build:start": "npx tsc --build && node .",
"clean": "npx tsc --build --clean",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {
@ -16,7 +17,6 @@
], ],
"author": "László Károlyi", "author": "László Károlyi",
"license": "MIT+NIGGER", "license": "MIT+NIGGER",
"type": "module",
"devDependencies": { "devDependencies": {
"@tsconfig/node18-strictest-esm": "^1.0.1", "@tsconfig/node18-strictest-esm": "^1.0.1",
"@types/node": "^18.11.7", "@types/node": "^18.11.7",