add tooling

This commit is contained in:
Buck Perley 2021-07-21 22:29:12 -05:00
parent b9468f1784
commit 4f8b7f3ac9
No known key found for this signature in database
GPG key ID: 655248EB912C5A3D
5 changed files with 1471 additions and 8832 deletions

11
.eslintrc Normal file
View file

@ -0,0 +1,11 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
}
}

2
.prettierignore Normal file
View file

@ -0,0 +1,2 @@
dist/*
node_modules

7
.prettierrc Normal file
View file

@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 80
}

10266
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -27,7 +27,7 @@
"@types/node": "^13.5.1",
"async": "^2.6.2",
"async-lock": "^1.2.2",
"axios": "^0.21.0",
"axios": "^0.21.1",
"bitcoin-address-validation": "^1.0.2",
"bolt11": "^1.3.1",
"bytebuffer": "^5.0.1",
@ -50,11 +50,11 @@
"jasmine": "^3.5.0",
"js-sha256": "^0.9.0",
"jscryptor-2": "0.0.1",
"lodash": "^4.17.19",
"lodash": "^4.17.21",
"long": "^3.2.0",
"md5": "^2.2.1",
"minimist": "^1.2.5",
"mqtt": "^4.0.0",
"mqtt": "^4.2.8",
"multer": "^1.4.2",
"njwt": "^1.0.0",
"node-fetch": "^2.6.0",
@ -82,14 +82,19 @@
"ts-node": "^8.5.4",
"tsc": "^1.20150623.0",
"typescript": "^4.1.3",
"underscore": "^1.9.1",
"underscore": "^1.13.1",
"winston": "^3.2.1",
"ws": "^7.1.2",
"yup": "^0.28.1",
"ws": "^7.5.3",
"yup": "^0.32.9",
"zbase32": "^1.0.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"nodemon": "^2.0.1",
"prettier": "^2.3.2",
"sqlite3": "4.1.1"
},
"pkg": {