delete dist folder before build

This commit is contained in:
Mylloon 2022-07-21 21:05:46 +02:00
parent 2776048d33
commit 425ebcca2c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -4,7 +4,7 @@
"description": "Bot discord",
"main": "src/index.js",
"scripts": {
"main": "npx tsc && node ./dist/index.js",
"main": "rm -r dist 2> /dev/null; npx tsc && node ./dist/index.js",
"debug": "npx tsnd --respawn ./src/index.ts",
"lint": "npx eslint src"
},