Skip to content

Commit

Permalink
update devDependencies (including husky 6)
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed May 5, 2021
1 parent 611551c commit 4751b17
Show file tree
Hide file tree
Showing 5 changed files with 445 additions and 492 deletions.
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"

yarn lint-staged
2 changes: 1 addition & 1 deletion .size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
}
},
"context.js": {
"bundled": 814,
"bundled": 815,
"minified": 467,
"gzipped": 282,
"treeshaked": {
Expand Down
45 changes: 20 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@
"test": "jest",
"test:dev": "jest --watch --no-coverage",
"test:coverage:watch": "jest --watch",
"copy": "shx cp -r dist/src/* dist/esm && shx mv dist/src/* dist && shx rm -rf dist/{src,tests} && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"copy": "shx cp -r dist/src/* dist/esm && shx mv dist/src/* dist && shx rm -rf dist/{src,tests} && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\""
},
"prettier": {
"semi": false,
Expand Down Expand Up @@ -120,43 +115,43 @@
]
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/core": "^7.14.0",
"@babel/plugin-external-helpers": "^7.12.13",
"@babel/plugin-transform-react-jsx": "^7.13.12",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/plugin-transform-typescript": "^7.13.0",
"@babel/preset-env": "^7.13.12",
"@babel/preset-env": "^7.14.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@testing-library/react": "^11.2.6",
"@types/jest": "^26.0.22",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"concurrently": "^6.0.1",
"esbuild": "^0.11.5",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"concurrently": "^6.0.2",
"esbuild": "^0.11.18",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.4",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"husky": "^6.0.0",
"jest": "^26.6.3",
"json": "^10.0.0",
"json": "^11.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.44.0",
"rollup-plugin-esbuild": "^3.0.2",
"rollup": "^2.47.0",
"rollup-plugin-esbuild": "^4.2.3",
"rollup-plugin-size-snapshot": "^0.12.0",
"shx": "^0.3.3",
"typescript": "^4.2.3"
"typescript": "^4.2.4"
},
"resolutions": {
"@types/react": "^17.0.3",
Expand Down
Loading

0 comments on commit 4751b17

Please sign in to comment.