Skip to content
Snippets Groups Projects
Commit df31bfe3 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

feat: #be cleanup package and TS cfg

parent d92abb37
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,9 @@
"description": "Ötzi game backend.",
"main": "src/index.js",
"scripts": {
"serve": "nodemon src/index.ts",
"build": "tsc",
"start": "NODE_PATH=./dist node dist/index.js",
"serve": "nodemon src/index.ts",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier . --check",
......
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
// Node 16 recommendations -- https://github.com/tsconfig/bases/blob/main/bases/node16.json
"lib": ["ES2021"],
"module": "commonjs",
"target": "es6",
"declaration": true,
"lib": ["ES6", "DOM"],
"outDir": "dist",
"rootDir": "src",
"target": "ES2021",
"strict": true,
"typeRoots": ["./node_modules/@types"]
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
// Customization
//"moduleResolution": "node",
"rootDir": "./src",
"baseUrl": "./src",
"outDir": "./dist"
},
"include": ["src/**/*"],
"exclude": ["src/**/*.spec.ts"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment