Added necessary plugins and fixed configs for linting
This commit is contained in:
parent
b2b5a97188
commit
583e5302bc
5 changed files with 37 additions and 361 deletions
14
package.json
14
package.json
|
|
@ -19,12 +19,10 @@
|
|||
"scripts": {
|
||||
"dev": "npm run watch",
|
||||
"build": "tsc && gulp",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json",
|
||||
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json",
|
||||
"nodelinter": "nodelinter",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js ./nodes",
|
||||
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js --fix ./nodes",
|
||||
"watch": "tsc --watch",
|
||||
"test": "jest",
|
||||
"lintfix-plugin": "cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes --fix"
|
||||
"test": "jest"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
|
@ -44,14 +42,14 @@
|
|||
"@types/jest": "^26.0.13",
|
||||
"@types/node": "^14.17.27",
|
||||
"@types/request-promise-native": "~1.0.15",
|
||||
"@typescript-eslint/parser": "^5.29.0",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.0.43",
|
||||
"gulp": "^4.0.2",
|
||||
"jest": "^26.4.2",
|
||||
"n8n-workflow": "~0.104.0",
|
||||
"nodelinter": "^0.1.9",
|
||||
"ts-jest": "^26.3.0",
|
||||
"tslint": "^6.1.2",
|
||||
"typescript": "~4.3.5",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.0.43"
|
||||
"typescript": "~4.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"n8n-core": "~0.122.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue