Skip to content

Commit

Permalink
fix: update dependencies and configure for husky 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Braden Napier committed Mar 16, 2021
1 parent 6c9f5f0 commit ee1d3d6
Show file tree
Hide file tree
Showing 8 changed files with 670 additions and 312 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript',
'prettier',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
globals: { BigInt: true },
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx npm-run-all -p lint:fix:* generate:docs:commit
3 changes: 3 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

npx npm-run-all build
3 changes: 3 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec </dev/tty && npx cz --hook || true
2 changes: 0 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
},

// ESLint
"eslint.enable": true,
"eslint.format.enable": true,

// NPM / Yarn
"npm.packageManager": "yarn",
"npm.bin": "yarn",

// TypeScript
"typescript.tsdk": "node_modules/typescript/lib",
Expand Down
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"lint:fix:package": "pretty-quick --pattern package.json",
"lint:fix:staged": "lint-staged",
"lint:types": "tsc --noEmit",
"prepare": "husky install",
"run:quick": "ts-node -T -s -H ./test/quick.ts"
},
"files": [
Expand All @@ -35,43 +36,43 @@
],
"dependencies": {
"axios": "^0.21.1",
"ethers": "^5.0.26",
"ethers": "^5.0.32",
"isomorphic-ws": "^4.0.1",
"qs": "^6.9.6",
"tslib": "^2.1.0",
"ws": "^7.4.2"
"ws": "^7.4.4"
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@types/crypto-js": "^4.0.1",
"@types/node": "^14.14.22",
"@types/qs": "^6.9.5",
"@types/node": "^14.14.35",
"@types/qs": "^6.9.6",
"@types/ws": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"commitizen": "^4.2.3",
"conventional-changelog-conventionalcommits": "^4.5.0",
"cz-conventional-changelog": "^3.3.0",
"documentation": "13.1.1",
"eslint": "^7.18.0",
"documentation": "13.2.0",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.2.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"markdownlint-cli": "^0.26.0",
"eslint-plugin-promise": "^4.3.1",
"husky": "5.1.3",
"lint-staged": "^10.5.4",
"markdownlint-cli": "^0.27.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prettier-plugin-package": "^1.3.0",
"pretty-quick": "^3.1.0",
"semantic-release": "^17.3.6",
"semantic-release": "^17.4.2",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
"typescript": "^4.2.3"
},
"types": "dist/index.d.ts",
"config": {
Expand Down
Loading

0 comments on commit ee1d3d6

Please sign in to comment.