chore: update to next 11 and tailwind 2.2

This commit is contained in:
Timothy Lin
2021-06-23 18:32:29 +08:00
parent 1bfd8c0da4
commit c479867650
9 changed files with 2012 additions and 11789 deletions
+9 -9
View File
@@ -3,11 +3,12 @@
"version": "0.3.4",
"private": true,
"scripts": {
"start": "cross-env TAILWIND_MODE=watch next-remote-watch ./data",
"dev": "cross-env TAILWIND_MODE=watch next dev",
"start": "next-remote-watch ./data",
"dev": "next dev",
"build": "next build && node ./scripts/generate-sitemap",
"serve": "next start",
"analyze": "cross-env ANALYZE=true next build",
"lint": "next lint --fix",
"prepare": "husky install"
},
"dependencies": {
@@ -17,11 +18,11 @@
"autoprefixer": "^10.2.5",
"gray-matter": "^4.0.2",
"image-size": "1.0.0",
"next": "10.2.3",
"next": "11.0.1",
"next-mdx-remote": "^3.0.1",
"next-seo": "4.24.0",
"next-themes": "^0.0.14",
"postcss": "^8.2.15",
"postcss": "^8.3.5",
"preact": "^10.5.13",
"react": "17.0.2",
"react-dom": "17.0.2",
@@ -32,18 +33,17 @@
"remark-footnotes": "^3.0.0",
"remark-math": "^3.0.1",
"remark-slug": "6.0.0",
"tailwindcss": "^2.1.1"
"tailwindcss": "^2.2.2"
},
"devDependencies": {
"@next/bundle-analyzer": "10.2.3",
"@next/bundle-analyzer": "11.0.1",
"@svgr/webpack": "^5.5.0",
"cross-env": "^7.0.3",
"eslint": "^7.17.0",
"eslint": "^7.29.0",
"eslint-config-next": "11.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.0.0",
"globby": "11.0.3",
"husky": "^6.0.0",