Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

updated CRA to v5, tailwind to v3; got rid of craco

Blue Mouse56dda9b7007f
diff --git a/package.json b/package.json
index a247821f9..a0eeb4887 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,6 @@
"version": "0.1.0",
"private": true,
"dependencies": {
- "@craco/craco": "^6.4.3",
"@headlessui/react": "^1.4.3",
"@heroicons/react": "^1.0.5",
"@sentry/react": "^6.16.1",
@@ -33,16 +32,16 @@
"react-redux": "^7.2.6",
"react-router-dom": "^5.3.0",
"react-router-hash-link": "^2.4.3",
- "react-scripts": "4.0.3",
+ "react-scripts": "5.0.0",
"redux": "^4.1.2",
"redux-auth-wrapper": "^3.0.0",
"redux-saga": "^1.1.3",
"swetrix": "^1.3.1"
},
"scripts": {
- "start": "craco start",
- "build": "craco build",
- "test": "craco test",
+ "start": "react-scripts start",
+ "build": "react-scripts build",
+ "test": "react-scripts test",
"eject": "react-scripts eject",
"analyse": "source-map-explorer 'build/static/js/*.js'"
},
@@ -65,14 +64,13 @@
]
},
"devDependencies": {
- "@tailwindcss/postcss7-compat": "^2.2.17",
- "autoprefixer": "^9.8.8",
+ "autoprefixer": "^10.4.2",
"cross-env": "^7.0.3",
- "postcss": "^7.0.39",
+ "postcss": "^8.4.5",
"source-map-explorer": "^2.5.2",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
- "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17"
+ "tailwindcss": "^3.0.15"
}
}
diff --git a/postcss.config.js b/postcss.config.js
new file mode 100644
index 000000000..33ad091d2
--- /dev/null
+++ b/postcss.config.js
@@ -0,0 +1,6 @@
+module.exports = {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ },
+}