|
@@ -27,15 +27,20 @@
|
|
|
"@types/chai": "^4",
|
|
|
"@types/mocha": "^5",
|
|
|
"@types/node": "^10",
|
|
|
+ "@typescript-eslint/eslint-plugin": "^3.0.2",
|
|
|
+ "@typescript-eslint/parser": "^3.0.2",
|
|
|
"chai": "^4",
|
|
|
- "eslint": "^5.13",
|
|
|
- "eslint-config-oclif": "^3.1",
|
|
|
- "eslint-config-oclif-typescript": "^0.1",
|
|
|
+ "eslint": "^7.1.0",
|
|
|
"globby": "^10",
|
|
|
+ "husky": "^4.2.5",
|
|
|
+ "jest": "^26.0.1",
|
|
|
+ "lint-staged": "^10.2.6",
|
|
|
"mocha": "^5",
|
|
|
"nyc": "^14",
|
|
|
+ "prettier": "^2.0.5",
|
|
|
+ "spawn-command": "^0.0.2-1",
|
|
|
"ts-node": "^8",
|
|
|
- "typescript": "^3.3"
|
|
|
+ "typescript": "^3.9.3"
|
|
|
},
|
|
|
"engines": {
|
|
|
"node": ">=8.0.0"
|
|
@@ -62,7 +67,8 @@
|
|
|
"repository": "joystream/joystream/joystream-query-node/cli",
|
|
|
"scripts": {
|
|
|
"postpack": "rm -f oclif.manifest.json",
|
|
|
- "posttest": "eslint . --ext .ts --config .eslintrc",
|
|
|
+ "posttest": "eslint . --ext .ts --config .eslintrc.js",
|
|
|
+ "lint": "eslint . --cache --ext .ts --config .eslintrc.js",
|
|
|
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
|
|
|
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
|
"version": "oclif-dev readme && git add README.md"
|