This is a starter template for Mayflower-react — a react component library for the Mayflower Design System.
- $
git clone https://github.com/massgov/Mayflower-React-Starter.git - $
cd Mayflower-React-Starter - $
npm i - $
npm start - Browse to http://localhost:3000, or the custom port shown in the output of npm start.
- node.js, currently standardized on version 8.9.4
- npm, currently standardized on version 10.10.0
- To run tests locally, you will need to install Watchman.
- That's it! All other dependencies should be included when you run
npm i.
- $
npm run build(Builds production app)
- $
npm run lint(Runs linter) - $
npm run lint-fix(Runs linter and fixes what it can automagically) - $
npm run build && serve(Serves production app after built) - $
npm run build-css(Compiles css files from scss)