chore: update package.json scripts and add new dependencies

- Replaced the test script to run test-providers.js.
- Updated the build script to run build-simple.js.
- Added new scripts for development: dev, dev:build, watch, watch:dev, dev:auto, and auto.
- Updated start script to build and then run the dev server.
- Added new devDependencies: concurrently, cors, express, and nodemon.
This commit is contained in:
himanshu8443
2025-06-21 16:15:30 +05:30
parent 5a795fa2dc
commit 30c5d316ee
3 changed files with 1537 additions and 2 deletions

16
nodemon.json Normal file
View File

@@ -0,0 +1,16 @@
{
"watch": ["providers"],
"ext": "ts",
"ignore": ["node_modules", "dist", "*.test.ts"],
"exec": "node build-simple.js",
"env": {
"NODE_ENV": "development"
},
"delay": "1000",
"verbose": true,
"colours": true,
"events": {
"restart": "echo '\n🔄 File changes detected, rebuilding providers...\n'",
"crash": "echo '\n❌ Build crashed, waiting for file changes...\n'"
}
}