https://github.com/yeraydiazdiaz/react-webpack-babel-template
A simple setup for React apps with minimal setup to get started quickly
https://github.com/yeraydiazdiaz/react-webpack-babel-template
Last synced: 3 months ago
JSON representation
A simple setup for React apps with minimal setup to get started quickly
- Host: GitHub
- URL: https://github.com/yeraydiazdiaz/react-webpack-babel-template
- Owner: yeraydiazdiaz
- Created: 2017-11-18T11:16:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-30T09:01:23.000Z (almost 7 years ago)
- Last Synced: 2025-01-13T03:46:46.738Z (5 months ago)
- Language: JavaScript
- Size: 561 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic React + Webpack + Babel template
A simple setup for React apps with minimal setup to get started quickly and test setup using Mocha + Enzyme + Karma.
## Development
- Install node.js, ideally using [nvm](https://github.com/creationix/nvm) or through `apt-get` or `brew`
- `npm install`
- `npm run dev-watch`, will run webpack on watch mode
- When you're done `npm run build`, bundled files will be placed in `dist`
- Open `dist/index.html` to see the component in contextTo use webpack's development server with hot reloading:
- `npm run start`
- navigate to `http://localhost:8080/`Run tests:
- Once with `npm test`
- On watch mode `npm run test-watch`