Add dotenv defs
This commit is contained in:
parent
ac7aeaf025
commit
a40bf62398
1
.env.example
Normal file
1
.env.example
Normal file
@ -0,0 +1 @@
|
||||
GITEA_AUTH=
|
1
index.ts
1
index.ts
@ -1,3 +1,4 @@
|
||||
import "dotenv/config";
|
||||
import { webcrypto as crypto } from 'crypto';
|
||||
import process from 'process';
|
||||
import fs from 'fs';
|
||||
|
@ -17,11 +17,13 @@
|
||||
"tsconfig.json",
|
||||
"yarn.lock"
|
||||
],
|
||||
"dependencies": {
|
||||
"dotenv": "^16.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.12.2",
|
||||
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
||||
"@typescript-eslint/parser": "^7.4.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"eslint": "^8.57.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.3"
|
||||
|
Loading…
Reference in New Issue
Block a user