diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 16:54:06 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 16:54:06 +0100 |
commit | bfe708d48f603998a1f2c4cad4a6f9f8683dc18f (patch) | |
tree | bc0402abb6fd999f00e2b180144a34c851e36abf /package.json | |
parent | 69b4c854b399554ed413cc7ff9d625aee5053927 (diff) |
Migrate to Typescript
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json index a5c41b5..0a3d018 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "", "main": "index.js", "scripts": { - "start": "nodemon ./start.js" + "build": "tsc", + "start": "node dist/start.js", + "dev": "nodemon -e ts,js --watch src --exec \"pnpm run build ; pnpm run start\"" }, "engines": { "node": ">=16.16.0" @@ -39,6 +41,7 @@ }, "devDependencies": { "eslint": "^8.40.0", - "nodemon": "^2.0.22" + "nodemon": "^2.0.22", + "typescript": "^5.0.4" } } |