File tree Expand file tree Collapse file tree 16 files changed +53
-129
lines changed
create-react-app-typescript Expand file tree Collapse file tree 16 files changed +53
-129
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ cd my-app
6565> NOTE: You can also add the ` --typescript ` flag to bootstrap a react-app with
6666> typescript support
6767
68- Next, install ` react-md ` and ` node- sass` :
68+ Next, install ` react-md ` and ` sass ` :
6969
7070``` sh
71- npm install --save react-md node- sass
71+ npm install --save react-md sass
7272```
7373
7474Next, create a ` src/App.scss ` file to include all the ` react-md ` styles and
Original file line number Diff line number Diff line change 1717 "@types/react" : " ^16.9.53" ,
1818 "@types/react-dom" : " ^16.9.8" ,
1919 "@types/react-router-dom" : " ^5.1.5" ,
20- "node-sass" : " ^4.14.1" ,
2120 "react" : " ^17.0.1" ,
2221 "react-dom" : " ^17.0.1" ,
2322 "react-md" : " latest" ,
2423 "react-router-dom" : " ^5.2.0" ,
2524 "react-scripts" : " 4.0.0" ,
25+ "sass" : " ^1.36.0" ,
2626 "typescript" : " ^4.0.3" ,
2727 "web-vitals" : " ^0.2.4"
2828 },
Original file line number Diff line number Diff line change 1212 "@testing-library/jest-dom" : " ^5.11.6" ,
1313 "@testing-library/react" : " ^11.1.2" ,
1414 "@testing-library/user-event" : " ^12.2.2" ,
15- "node-sass" : " ^4.14.1" ,
1615 "react" : " ^17.0.1" ,
1716 "react-dom" : " ^17.0.1" ,
1817 "react-md" : " latest" ,
1918 "react-router-dom" : " ^5.2.0" ,
2019 "react-scripts" : " 4.0.0" ,
20+ "sass" : " ^1.36.0" ,
2121 "web-vitals" : " ^0.2.4"
2222 },
2323 "eslintConfig" : {
Original file line number Diff line number Diff line change 2222 "gatsby-plugin-layout" : " ^1.3.10" ,
2323 "gatsby-plugin-sass" : " ^2.3.12" ,
2424 "gatsby-plugin-typescript" : " ^2.4.16" ,
25- "node-sass " : " ^4.14.1 " ,
26- "prettier " : " 2.0.5 "
25+ "prettier " : " 2.0.5 " ,
26+ "sass " : " ^1.36.0 "
2727 }
2828}
Original file line number Diff line number Diff line change 2121 "devDependencies" : {
2222 "gatsby-plugin-layout" : " ^1.3.10" ,
2323 "gatsby-plugin-sass" : " ^2.3.12" ,
24- "node-sass " : " ^4.14.1 " ,
25- "prettier " : " 2.0.5 "
24+ "prettier " : " 2.0.5 " ,
25+ "sass " : " ^1.36.0 "
2626 }
2727}
Original file line number Diff line number Diff line change 1616 "devDependencies" : {
1717 "@types/node" : " ^14.0.27" ,
1818 "@types/react" : " ^16.9.43" ,
19- "node- sass" : " ^4.14.1 " ,
19+ "sass" : " ^1.36.0 " ,
2020 "typescript" : " ^3.9.7"
2121 }
2222}
Original file line number Diff line number Diff line change 1414 "react-md" : " latest"
1515 },
1616 "devDependencies" : {
17- "node- sass" : " ^4.14.1 "
17+ "sass" : " ^1.36.0 "
1818 }
1919}
Original file line number Diff line number Diff line change 6464 "@types/jest" : " ^27.0.0" ,
6565 "@types/lodash" : " ^4.14.172" ,
6666 "@types/node" : " ^15.14.7" ,
67- "@types/node-sass" : " ^4.11.2" ,
6867 "@types/prettier" : " ^2.3.2" ,
6968 "@types/reach__router" : " ^1.3.9" ,
7069 "@types/react" : " ^17.0.17" ,
Original file line number Diff line number Diff line change 3030 "lodash" : " ^4.17.21" ,
3131 "loglevel" : " ^1.7.1" ,
3232 "markdown-toc" : " ^1.2.0" ,
33- "node-sass" : " ^5.0.0" ,
3433 "npm-run-all" : " ^4.1.5" ,
3534 "postcss" : " ^8.3.6" ,
3635 "postcss-flexbugs-fixes" : " ^5.0.2" ,
3938 "pretty-ms" : " ^7.0.0" ,
4039 "prompts" : " ^2.4.1" ,
4140 "rimraf" : " ^3.0.2" ,
41+ "sass" : " ^1.37.5" ,
4242 "sassdoc" : " ^2.7.2" ,
4343 "ts-morph" : " ^11.0.3" ,
4444 "typedoc" : " ^0.21.5" ,
4949 "@types/cssnano" : " ^4.0.1" ,
5050 "@types/he" : " ^1.1.2" ,
5151 "@types/prompts" : " ^2.0.14" ,
52+ "@types/sass" : " ^1.16.1" ,
5253 "chokidar-cli" : " ^3.0.0"
5354 }
5455}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export const DEV_DEPENDENCIES = [
3434 "@types/node" ,
3535 "@types/react" ,
3636 "@types/react-dom" ,
37- "node- sass" ,
37+ "sass" ,
3838 "react-scripts" ,
3939 "typescript" ,
4040] ;
You can’t perform that action at this time.
0 commit comments