Added ts scripts and config

This commit is contained in:
Alexis
2021-07-18 16:08:15 +02:00
parent d977ce6551
commit 061bb52dac
2 changed files with 24 additions and 2 deletions

View File

@@ -4,7 +4,9 @@
"description": "API for Auracle database",
"main": "index.js",
"scripts": {
"start": "node index.js"
"dev": "ts-node ./src/index.ts",
"build": "tsc",
"start": "node ./dist/index.js"
},
"repository": {
"type": "git",
@@ -47,7 +49,7 @@
"babel-eslint": "^10.1.0",
"eslint": "^7.31.0",
"eslint-plugin-import": "^2.23.4",
"ts-node": "10.1.0",
"ts-node": "^10.1.0",
"typescript": "^4.3.5"
},
"eslintConfig": {