Skip to content

Commit cc76ac9

Browse files
author
a602484
committed
Add babelrc
1 parent 994ef9d commit cc76ac9

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.babelrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Babel config, see: https://babeljs.io/docs/en/configuration
2+
const presets = []
3+
const plugins = [
4+
'babel-plugin-styled-components',
5+
]
6+
module.exports = { presets, plugins }

README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,26 @@ ___
2222
`$ yarn start`
2323

2424

25-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
25+
### Additional Info
26+
27+
Beyond bootstrapping react-wizard with [Create React App](https://github.com/facebook/create-react-app),
28+
I added the following npm packages:
29+
30+
- [node-sass](https://www.npmjs.com/package/node-sass) for styling ease.
31+
32+
`yarn add node-sass`
33+
34+
- [prop-types](https://www.npmjs.com/package/prop-types) for runtime type checking.
35+
36+
`yarn add prop-types`
37+
38+
39+
- [styled-components](https://www.npmjs.com/package/styled-components) to make it obvious where a component's styling
40+
comes from.
41+
42+
`yarn add styled-components`
43+
44+
- [babel-plugin-styled-components](https://www.npmjs.com/package/babel-plugin-styled-components) so Babel knows
45+
how to transpile css in style-components.
46+
47+
`yarn add babel-plugin-styled-components`

0 commit comments

Comments
 (0)