Skip to content

Commit

Permalink
feat change env
Browse files Browse the repository at this point in the history
  • Loading branch information
3ddyBoi committed Dec 21, 2023
1 parent 5f1cf46 commit 420e1ef
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v21
v20
103 changes: 102 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
"description": "Slack bot using Bolt and TypeScript",
"scripts": {
"build": "tsc -p tsconfig.json",
"start": "node --env-file=.env build/index.js",
"dev": "NODE_OPTIONS=\"-r ts-node/register --no-warnings\" node --env-file=.env src/index.ts"
"start": "node build/index.js",
"dev": "dotenv -- ts-node src/index.ts"
},
"dependencies": {
"@slack/bolt": "^3.16.0",
"dotenv-cli": "^7.3.0",
"fastify": "^4.25.1",
"slack-block-builder": "^2.7.2"
},
"engines": {
"node": "21.x"
"node": "20.x"
},
"devDependencies": {
"@types/node": "^20.10.4",
Expand Down

0 comments on commit 420e1ef

Please sign in to comment.