Compare commits

...

6 Commits

Author SHA1 Message Date
Philipp Dormann 0b22da2e4d Merge branch 'main' of https://git.odit.services/lfk/backend into main
# Conflicts:
#	package.json
2020-11-24 19:12:21 +01:00
Philipp Dormann e764fcbfe9 dotenv-safe usage
ref #1
2020-11-24 19:11:52 +01:00
Philipp Dormann 9ce6209cac basic recommended editor extensions
ref #1
2020-11-24 19:11:40 +01:00
Philipp Dormann 8e107fd206 basic prettier config 2020-11-24 19:10:48 +01:00
Philipp Dormann a5cae044ed add @types/dotenv-safe
ref #1
2020-11-24 19:10:30 +01:00
Philipp Dormann 5e059cbc2a license update - move to CC BY-NC-SA 4.0
ref #1
2020-11-24 19:10:10 +01:00
4 changed files with 22 additions and 8 deletions

4
.prettierrc Normal file
View File

@ -0,0 +1,4 @@
{
"tabWidth": 4,
"useTabs": false
}

8
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"recommendations": [
"2gua.rainbow-brackets",
"christian-kohler.npm-intellisense",
"remimarsal.prettier-now"
],
"unwantedRecommendations": []
}

View File

@ -1,3 +1,5 @@
import * as dotenvSafe from 'dotenv-safe';
dotenvSafe.config();
import express from 'express';
const app = express();
const PORT = 4010;

View File

@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true,
"strict": true
}
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true,
"strict": true
}
}