Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created August 13, 2022 03:28
Show Gist options
  • Save SarahElson/93834f7e813a93ccdaa5a3b0baf4a0f2 to your computer and use it in GitHub Desktop.
Save SarahElson/93834f7e813a93ccdaa5a3b0baf4a0f2 to your computer and use it in GitHub Desktop.
How To Style And Write CSS In React
{
"name": "my-project", //name of the project
"version": "0.1.0", // version of the project
"private": true, //Public when you upload your project to npm
"dependencies": { //dependencies used in your project
"@typeform/embed": "^1.36.0",
"@typeform/embed-react": "^1.17.0",
"bootstrap": "^5.1.3",
"cra-template": "1.2.0",
"framer-motion": "^6.5.1",
"hamburger-react": "^2.5.0",
"react": "^18.2.0",
"react-bootstrap": "^2.4.0",
"react-dom": "^18.2.0",
"react-icons": "^4.4.0",
"react-scripts": "5.0.1",
"react-select": "^5.4.0",
"react-slick": "^0.29.0",
"slick-carousel": "^1.8.1"
},
//contains the script for running,building,testing etc
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": { //dependencies that we only need during the development
"autoprefixer": "^10.4.7",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment