Skip to content

Commit d114db0

Browse files
CSS Styled Components
1 parent b8b235b commit d114db0

File tree

7 files changed

+278
-7
lines changed

7 files changed

+278
-7
lines changed

01-basic-app-setup/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"scripts": {
1818
"start": "react-scripts start",
1919
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
20-
"server": "nodemon ./server/index.js"
20+
"server": "nodemon ./server/index.js",
21+
"nossr:client:serve": "npm run build && serve -s build",
22+
"prod": "npm run build && NODE_ENV=production && npm run server"
2123
},
2224
"eslintConfig": {
2325
"extends": [

02-html-font-setup/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
"serve-favicon": "^2.5.0"
1515
},
1616
"scripts": {
17-
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
18-
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
19-
"server": "nodemon ./server/index.js"
17+
"start": "DISABLE_ESLINT_PLUGIN=true BASE_PATH=http://localhost:3000 react-scripts start",
18+
"build": "DISABLE_ESLINT_PLUGIN=true BASE_PATH=http://localhost:3003 react-scripts build",
19+
"server": "nodemon ./server/index.js",
20+
"nossr:client:serve": "npm run build && serve -s build",
21+
"prod": "npm run build && NODE_ENV=production && npm run server"
2022
},
2123
"eslintConfig": {
2224
"extends": [

03-css-setup/package-lock.json

Lines changed: 212 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

03-css-setup/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"react-router-dom": "^6.3.0",
1919
"react-scripts": "5.0.1",
2020
"serve-favicon": "^2.5.0",
21+
"styled-components": "^5.3.5",
2122
"web-vitals": "^2.1.4"
2223
},
2324
"scripts": {

0 commit comments

Comments
 (0)