Added build scripts
This commit is contained in:
+3
-1
@@ -4,7 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nodemon ./src/index.ts"
|
||||
"dev": "nodemon ./src/index.ts",
|
||||
"build": "tsc -b",
|
||||
"start": "node ."
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Alexander Harding <AlexHardingYT@gmail.com>",
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
// Visit https://aka.ms/tsconfig to read more about this file
|
||||
"compilerOptions": {
|
||||
// File Layout
|
||||
// "rootDir": "./src",
|
||||
// "outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
// Environment Settings
|
||||
// See also https://aka.ms/tsconfig/module
|
||||
"module": "nodenext",
|
||||
|
||||
Reference in New Issue
Block a user