From d05c7efadcbb717a06e82a4a34b41f7e95cff9e4 Mon Sep 17 00:00:00 2001 From: Mathis Date: Mon, 29 Apr 2024 11:35:44 +0200 Subject: [PATCH] feat(package.json): change main entry point and add development script This commit modifies the `package.json` file in two key ways. The main file is now `src/app.ts` instead of `dist/app.js`. Additionally, a new script `bun:dev` has been added to aid in development, which watches the main file for changes. Signed-off-by: Mathis --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a480930..d5d0b41 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,13 @@ "name": "brief-05-back", "version": "1.0.0", "description": "", - "main": "dist/app.js", + "main": "src/app.ts", "keywords": [], "author": "Mathis HERRIOT", "license": "MIT", + "scripts": { + "bun:dev": "--watch src/app.ts" + }, "dependencies": { "@node-rs/argon2": "^1.8.3", "compression": "^1.7.4",