Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oetzit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
commul
oetzit
Commits
df31bfe3
Commit
df31bfe3
authored
3 years ago
by
Paolo.Brasolin
Browse files
Options
Downloads
Patches
Plain Diff
feat: #be cleanup package and TS cfg
parent
d92abb37
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backend/package.json
+2
-1
2 additions, 1 deletion
backend/package.json
backend/tsconfig.json
+14
-6
14 additions, 6 deletions
backend/tsconfig.json
with
16 additions
and
7 deletions
backend/package.json
+
2
−
1
View file @
df31bfe3
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
backend/tsconfig.json
+
14
−
6
View file @
df31bfe3
{
"compilerOptions"
:
{
/*
Visit
https://aka.ms/tsconfig.json
to
read
more
about
this
file
*/
//
Node
16
recommendations
--
https://github.com/tsconfig/bases/blob/main/bases/node
16
.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"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment