Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
added: types dependencies and some config
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jul 4, 2019
1 parent 064aef5 commit 79876aa
Show file tree
Hide file tree
Showing 6 changed files with 178 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules/
/apidocs
/coverage
/build
/dist
1 change: 1 addition & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
public
apidocs
/dist
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
public
apidocs
coverage
/dist
155 changes: 155 additions & 0 deletions package-lock.json

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

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
]
},
"scripts": {
"build": "tsc",
"changelog": "changelog-generator-twig --owner wdes --repo changelog --repoDir ./ --baseCommit 16179d5a534b34f29915590c8e75579b547ebb4a",
"changelog-file": "npm run --silent changelog > CHANGELOG.md",
"apidoc": "apidoc --input src/ --output apidocs --private false",
Expand Down Expand Up @@ -56,6 +57,13 @@
"homepage": "https://gitlab.com/wdes/wdes-stats#readme",
"dependencies": {
"@sentry/node": "^5.4.3",
"@types/better-queue": "^3.8.1",
"@types/express": "^4.17.0",
"@types/express-session": "^1.15.13",
"@types/joi": "^14.3.3",
"@types/node-cron": "^2.0.2",
"@types/passport-github": "^1.1.5",
"@types/request": "^2.48.1",
"better-queue": "^3.8.10",
"body-parser": "^1.19.0",
"cluster": "^0.7.7",
Expand Down
12 changes: 12 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
"target": "es2017",
"baseUrl": "./",
"paths": {
"@lib/*": ["./src/lib/*"],
"@static/*": ["./src/static/*"],
"@util/*": ["./src/util/*"],
"@api/*": ["./src/api/*"],
"@middlewares/*": ["./src/middlewares/*"],
"@templates/*": ["./templates/*"],
"@db/*": ["./db/*"],
"@models/*": ["./db/models/*"],
"@config/*": ["./config/*"],
"@src/*": ["./src/*"],
"@root/*": ["./*"],
"@test/*": ["./test/*"],
Expand All @@ -23,6 +32,9 @@
"include": [
"./*",
"./src/**/*",
"./utils/**/*",
"./config/**/*",
"./src/**/*",
"./test/**/*"
]
}

0 comments on commit 79876aa

Please sign in to comment.