add compile target
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 21s
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 21s
This commit is contained in:
parent
23f8d5d4d1
commit
c16a8849ed
1 changed files with 3 additions and 2 deletions
|
@ -4,12 +4,13 @@
|
|||
"description": "Bot discord",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"main": "rm -r dist 2> /dev/null; npx tsc && node ./dist/index.js",
|
||||
"compile": "rm -r dist 2> /dev/null; npx tsc",
|
||||
"main": "npm run compile && node ./dist/index.js",
|
||||
"debug": "npx tsnd --respawn ./src/index.ts",
|
||||
"lint": "npx eslint src",
|
||||
"format-check": "npx prettier --check src",
|
||||
"format-write": "npx prettier --write src",
|
||||
"test": "npx jest"
|
||||
"test": "npm run compile && npx jest"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue