delete dist folder before build
This commit is contained in:
parent
2776048d33
commit
425ebcca2c
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue