Skip to content

Commit 4b6c3a6

Browse files
feat: update other modules
1 parent 249c171 commit 4b6c3a6

File tree

4 files changed

+2253
-2354
lines changed

4 files changed

+2253
-2354
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
"dev": "next",
66
"build": "next build",
77
"start": "next start",
8-
"test": "jest",
8+
"test": "jest --env=jsdom",
99
"fix": "prettier --write './**/*.{js,jsx,ts,tsx}'",
1010
"lint": "eslint . --cache",
1111
"lint:fix": "eslint . --cache --fix",
1212
"storybook": "start-storybook",
1313
"build-storybook": "build-storybook -p 6006",
14-
"tsc": "tsc"
14+
"tsc": "tsc",
15+
"prepare": "husky install"
1516
},
1617
"husky": {
1718
"hooks": {
@@ -36,31 +37,31 @@
3637
"@storybook/react": "^6.1.16",
3738
"@testing-library/jest-dom": "^5.11.9",
3839
"@testing-library/react": "^11.2.4",
39-
"@testing-library/react-hooks": "^5.0.3",
40-
"@types/node": "^14.14.22",
40+
"@testing-library/react-hooks": "^7.0.0",
41+
"@types/node": "^15.6.1",
4142
"@types/react": "^17.0.0",
4243
"@typescript-eslint/eslint-plugin": "^4.14.2",
4344
"@typescript-eslint/parser": "^4.14.2",
4445
"autoprefixer": "^10.2.6",
45-
"babel-jest": "^26.6.3",
46+
"babel-jest": "^27.0.2",
4647
"eslint": "^7.19.0",
47-
"eslint-config-prettier": "^7.2.0",
48+
"eslint-config-prettier": "^8.3.0",
4849
"eslint-plugin-import": "^2.22.1",
4950
"eslint-plugin-jsx-a11y": "^6.4.1",
5051
"eslint-plugin-prettier": "^3.3.1",
5152
"eslint-plugin-react": "^7.22.0",
5253
"eslint-plugin-react-hooks": "^4.2.0",
53-
"husky": "^4.3.8",
54-
"jest": "^26.6.3",
54+
"husky": "^6.0.0",
55+
"jest": "^27.0.3",
5556
"jest-watch-typeahead": "^0.6.1",
56-
"lint-staged": "^10.5.3",
57+
"lint-staged": "^11.0.0",
5758
"npm-check-updates": "^11.1.1",
5859
"postcss": "^8.3.0",
5960
"prettier": "^2.2.1",
6061
"react-test-renderer": "^17.0.1",
6162
"tailwindcss": "^2.1.2",
62-
"ts-loader": "^8.0.14",
63-
"typescript": "^4.1.3"
63+
"ts-loader": "^9.2.2",
64+
"typescript": "^4.3.2"
6465
},
6566
"license": "MIT"
6667
}

0 commit comments

Comments
 (0)