React application
I am currently working on a React project, so I figured I'd better learn it. So I am following along with the book "Mastering React Test Driven Development", and keeping the results in this repository.
npm init
npm install --save-dev jest
git init echo "node_modules" > .gitignore
npm install --save react react-dom npm install --save-dev @babel/preset-env @babel/preset-react npm install --save-dev @babel/plugin-transform-runtime npm install --save @babel/runtime
.babelrc { "presets": ["@babel/env", "@babel/react"], "plugins": ["@babel/transform-runtime"] }
git remote add origin git@github.com:JDLuke/appointments.git git branch -M main git push -u origin main
npm install --save-dev webpack webpack-cli babel-loader Modify package.json to add build script Add webpack.config.js Create dist/index.html
npm run build Open dist/index.html in browser or run
npm install --save-dev jest-matcher-utils