-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: moves generated files to the 'dist' directory, and adds it to …
…the .gitignore file
- Loading branch information
Showing
7 changed files
with
603 additions
and
575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
.env | ||
admin.macaroon | ||
tls.cert | ||
tls.cert | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,16 @@ | |
"version": "0.11.1", | ||
"author": "Francisco Calderón <[email protected]>", | ||
"description": "P2P lightning network telegram bot", | ||
"main": "app.js", | ||
"main": "dist/app.js", | ||
"scripts": { | ||
"prestart": "npx tsc", | ||
"start": "node ./app", | ||
"start": "node ./dist/app", | ||
"predev": "npx tsc", | ||
"dev": "nodemon ./app", | ||
"dev": "nodemon ./dist/app", | ||
"lint": "eslint .", | ||
"format": "prettier --write '**/*.js'", | ||
"pretest": "npx tsc", | ||
"test": "export NODE_ENV=test && mocha --exit tests/**/*.spec.js" | ||
"format": "prettier --write '**/*.{js,ts}'", | ||
"pretest": "tsc -p tsconfig.test.json", | ||
"test": "export NODE_ENV=test && mocha --exit 'dist/tests/**/*.spec.js'" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"strict": false, | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"downlevelIteration": true | ||
} | ||
"downlevelIteration": true, | ||
"outDir": "./dist", | ||
"rootDir": ".", | ||
"allowJs": true, | ||
"moduleResolution": "node" | ||
}, | ||
"include": [ | ||
"app.ts", | ||
"bot/**/*", | ||
"jobs/**/*", | ||
"ln/**/*", | ||
"lnurl/**/*", | ||
"models/**/*", | ||
"util/**/*", | ||
"locales/**/*", | ||
], | ||
"exclude": ["node_modules", "dist", "tests", "locales"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"include": [ | ||
"tests/**/*" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |