Skip to content

Commit 7f4c0e5

Browse files
committed
switch to bun
1 parent 572d49c commit 7f4c0e5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"node": ">=20.0.0"
1010
},
1111
"scripts": {
12-
"start:dev": "npm run lint && cross-env NODE_ENV=development node src/app.js",
13-
"start:prod": "cross-env NODE_ENV=production node src/app.js",
12+
"start:dev": "npm run lint && cross-env NODE_ENV=development bun src/app.js",
13+
"start:prod": "cross-env NODE_ENV=production bun src/app.js",
1414
"start": "npm run start:dev",
1515
"lint": "eslint .",
1616
"lint:fix": "eslint . --fix",
17-
"generate-config": "node scripts/generate-config.js",
18-
"pull-and-restart": "node scripts/pull-and-restart.js"
17+
"generate-config": "bun scripts/generate-config.js",
18+
"pull-and-restart": "bun scripts/pull-and-restart.js"
1919
},
2020
"repository": {
2121
"type": "git",

pm2.ecosystem.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"cwd": "./",
66
"script": "src/app.js",
77
"exec_mode": "fork",
8+
"interpreter": "bun",
89
"instances": 1,
910
"env": { "NODE_ENV": "production" },
1011
"repo": "https://github.com/NullDev/Arithmetica-Bot.git",

0 commit comments

Comments
 (0)