package: Add prettier, remove eslint and mocha

This commit is contained in:
Danny Lin 2021-12-25 01:46:48 -08:00
parent 198214e5ad
commit 36459be53a
2 changed files with 25 additions and 982 deletions

View file

@ -31,12 +31,9 @@
"@types/node-fetch": "2.5.12", "@types/node-fetch": "2.5.12",
"@types/xml2js": "^0.4.9", "@types/xml2js": "^0.4.9",
"chai": "^4", "chai": "^4",
"eslint": "^8.5.0",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^1.0.2",
"globby": "^10", "globby": "^10",
"mocha": "^5",
"nyc": "^14", "nyc": "^14",
"prettier": "^2.5.1",
"ts-node": "^8", "ts-node": "^8",
"typescript": "^4.4.4" "typescript": "^4.4.4"
}, },
@ -67,8 +64,8 @@
"postpack": "rm -f oclif.manifest.json", "postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc", "posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme", "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",
"version": "oclif-dev readme && git add README.md" "format": "prettier --write 'src/**/*.ts'"
}, },
"types": "lib/index.d.ts" "types": "lib/index.d.ts"
} }

998
yarn.lock

File diff suppressed because it is too large Load diff