|
5 | 5 | "dev": "next", |
6 | 6 | "build": "next build", |
7 | 7 | "start": "next start", |
8 | | - "test": "jest", |
| 8 | + "test": "jest --env=jsdom", |
9 | 9 | "fix": "prettier --write './**/*.{js,jsx,ts,tsx}'", |
10 | 10 | "lint": "eslint . --cache", |
11 | 11 | "lint:fix": "eslint . --cache --fix", |
12 | 12 | "storybook": "start-storybook", |
13 | 13 | "build-storybook": "build-storybook -p 6006", |
14 | | - "tsc": "tsc" |
| 14 | + "tsc": "tsc", |
| 15 | + "prepare": "husky install" |
15 | 16 | }, |
16 | 17 | "husky": { |
17 | 18 | "hooks": { |
|
36 | 37 | "@storybook/react": "^6.1.16", |
37 | 38 | "@testing-library/jest-dom": "^5.11.9", |
38 | 39 | "@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", |
41 | 42 | "@types/react": "^17.0.0", |
42 | 43 | "@typescript-eslint/eslint-plugin": "^4.14.2", |
43 | 44 | "@typescript-eslint/parser": "^4.14.2", |
44 | 45 | "autoprefixer": "^10.2.6", |
45 | | - "babel-jest": "^26.6.3", |
| 46 | + "babel-jest": "^27.0.2", |
46 | 47 | "eslint": "^7.19.0", |
47 | | - "eslint-config-prettier": "^7.2.0", |
| 48 | + "eslint-config-prettier": "^8.3.0", |
48 | 49 | "eslint-plugin-import": "^2.22.1", |
49 | 50 | "eslint-plugin-jsx-a11y": "^6.4.1", |
50 | 51 | "eslint-plugin-prettier": "^3.3.1", |
51 | 52 | "eslint-plugin-react": "^7.22.0", |
52 | 53 | "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", |
55 | 56 | "jest-watch-typeahead": "^0.6.1", |
56 | | - "lint-staged": "^10.5.3", |
| 57 | + "lint-staged": "^11.0.0", |
57 | 58 | "npm-check-updates": "^11.1.1", |
58 | 59 | "postcss": "^8.3.0", |
59 | 60 | "prettier": "^2.2.1", |
60 | 61 | "react-test-renderer": "^17.0.1", |
61 | 62 | "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" |
64 | 65 | }, |
65 | 66 | "license": "MIT" |
66 | 67 | } |
0 commit comments