This is a simple React.js starter project, using just the essentials for getting an app and unit testing working.
From here you can add whatever you like to your package.json. One approach you could take for starting a new project.
- Download an archive of this repository.
git add .all the files (the.gitignorewill ignorenode_modulesetc.)git commitas the start of your project- Get developing!
Uses:
babel,webpackandhtml-webpack-pluginfor creating a deployable HTML/JS directory.webpack-dev-serverfor local development.mocha,expectandenzymefor testing.
npm install # install all the dependencies
npm test # you should see one passing unit test
npm start # you should be able to see "Hello, World!" in your browser