|
1 | 1 | { |
2 | 2 | "name": "nextjs-microcms-blog", |
3 | | - "version": "1.0.0", |
| 3 | + "version": "2.0.0", |
4 | 4 | "private": true, |
5 | 5 | "scripts": { |
6 | 6 | "analyze": "ANALYZE=true yarn build", |
|
12 | 12 | "start": "next start", |
13 | 13 | "test": "jest", |
14 | 14 | "fix": "prettier --write './**/*.{js,jsx,ts,tsx}'", |
15 | | - "lint": "eslint . --cache", |
16 | | - "lint:fix": "eslint . --cache --fix", |
17 | | - "tsc": "tsc" |
18 | | - }, |
19 | | - "husky": { |
20 | | - "hooks": { |
21 | | - "pre-commit": "lint-staged" |
22 | | - } |
| 15 | + "lint": "next lint", |
| 16 | + "lint:fix": "next lint --fix", |
| 17 | + "tsc": "tsc", |
| 18 | + "prepare": "husky install" |
23 | 19 | }, |
24 | 20 | "lint-staged": { |
25 | 21 | "*.{ts,tsx}": [ |
26 | | - "eslint --fix", |
| 22 | + "next lint --fix", |
27 | 23 | "prettier --write" |
28 | 24 | ] |
29 | 25 | }, |
30 | 26 | "dependencies": { |
31 | | - "@aspida/axios": "^1.6.3", |
| 27 | + "@aspida/axios": "^1.7.1", |
32 | 28 | "axios": "^0.21.1", |
33 | | - "dayjs": "^1.10.4", |
34 | | - "highlight.js": "^10.7.2", |
35 | | - "jsdom": "^16.5.3", |
36 | | - "next": "^10.0.6", |
37 | | - "react": "^17.0.1", |
38 | | - "react-dom": "^17.0.1", |
| 29 | + "dayjs": "^1.10.6", |
| 30 | + "highlight.js": "^11.0.0", |
| 31 | + "microcms-richedit-processer": "^1.0.1", |
| 32 | + "next": "^11.0.1", |
| 33 | + "react": "^17.0.2", |
| 34 | + "react-dom": "^17.0.2", |
39 | 35 | "react-scroll": "^1.8.2", |
40 | 36 | "react-use": "^17.2.4", |
41 | 37 | "rss": "^1.2.2", |
42 | 38 | "swr": "^0.5.6" |
43 | 39 | }, |
44 | 40 | "devDependencies": { |
45 | | - "@babel/core": "^7.12.10", |
46 | | - "@next/bundle-analyzer": "^10.1.1", |
47 | | - "@testing-library/jest-dom": "^5.11.10", |
48 | | - "@testing-library/react": "^11.2.5", |
49 | | - "@testing-library/react-hooks": "^5.1.1", |
50 | | - "@types/jsdom": "^16.2.10", |
| 41 | + "@babel/core": "^7.14.6", |
| 42 | + "@next/bundle-analyzer": "^11.0.1", |
| 43 | + "@testing-library/jest-dom": "^5.14.1", |
| 44 | + "@testing-library/react": "^12.0.0", |
| 45 | + "@testing-library/react-hooks": "^7.0.1", |
| 46 | + "@types/jsdom": "^16.2.13", |
51 | 47 | "@types/node": "^14.14.37", |
52 | | - "@types/react": "^17.0.3", |
53 | | - "@types/react-scroll": "^1.8.2", |
54 | | - "@types/rss": "^0.0.28", |
55 | | - "@typescript-eslint/eslint-plugin": "^4.20.0", |
56 | | - "@typescript-eslint/parser": "^4.20.0", |
57 | | - "babel-jest": "^26.6.3", |
58 | | - "dotenv": "^9.0.0", |
59 | | - "eslint": "^7.23.0", |
60 | | - "eslint-config-prettier": "^7.2.0", |
61 | | - "eslint-plugin-import": "^2.22.1", |
62 | | - "eslint-plugin-jsx-a11y": "^6.4.1", |
| 48 | + "@types/react": "^17.0.14", |
| 49 | + "@types/react-scroll": "^1.8.3", |
| 50 | + "@types/rss": "^0.0.29", |
| 51 | + "@typescript-eslint/eslint-plugin": "^4.28.3", |
| 52 | + "@typescript-eslint/parser": "^4.28.3", |
| 53 | + "babel-jest": "^27.0.6", |
| 54 | + "dotenv": "^10.0.0", |
| 55 | + "eslint": "^7.30.0", |
| 56 | + "eslint-config-next": "^11.0.1", |
| 57 | + "eslint-config-prettier": "^8.3.0", |
63 | 58 | "eslint-plugin-prettier": "^3.3.1", |
64 | | - "eslint-plugin-react": "^7.23.1", |
65 | | - "eslint-plugin-react-hooks": "^4.2.0", |
66 | | - "globby": "^11.0.3", |
67 | | - "husky": "^4.3.8", |
68 | | - "imagemin-gifsicle": "^7.0.0", |
69 | | - "imagemin-mozjpeg": "^9.0.0", |
70 | | - "imagemin-pngquant": "^9.0.2", |
71 | | - "imagemin-svgo": "^9.0.0", |
72 | | - "jest": "^26.6.3", |
73 | | - "jest-watch-typeahead": "^0.6.1", |
74 | | - "lint-staged": "^10.5.4", |
75 | | - "lqip-loader": "^2.2.1", |
| 59 | + "globby": "^11.0.4", |
| 60 | + "husky": "^7.0.1", |
| 61 | + "jest": "^27.0.6", |
| 62 | + "jest-watch-typeahead": "^0.6.4", |
| 63 | + "lint-staged": "^11.0.1", |
76 | 64 | "next-compose-plugins": "^2.2.1", |
77 | | - "next-optimized-images": "^2.6.2", |
78 | 65 | "npm-run-all": "^4.1.5", |
79 | | - "pathpida": "^0.14.0", |
| 66 | + "pathpida": "^0.15.2", |
| 67 | + "postcss": "^8.3.5", |
80 | 68 | "postcss-custom-properties": "^11.0.0", |
81 | 69 | "postcss-nested": "^5.0.5", |
82 | | - "prettier": "^2.2.1", |
| 70 | + "prettier": "^2.3.2", |
83 | 71 | "react-test-renderer": "^17.0.2", |
84 | | - "responsive-loader": "^2.3.0", |
85 | | - "sharp": "^0.28.0", |
86 | | - "ts-loader": "^8.1.0", |
87 | | - "typescript": "^4.2.3", |
88 | | - "webp-loader": "^0.6.0" |
| 72 | + "typescript": "^4.3.5" |
89 | 73 | } |
90 | 74 | } |
0 commit comments