https://github.com/chvid/react-starter
Template for a React/Bulma/Webpack project.
https://github.com/chvid/react-starter
Last synced: about 1 month ago
JSON representation
Template for a React/Bulma/Webpack project.
- Host: GitHub
- URL: https://github.com/chvid/react-starter
- Owner: chvid
- Created: 2017-11-15T20:22:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-18T13:02:39.000Z (almost 4 years ago)
- Last Synced: 2024-07-31T20:28:39.345Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-bulma - react-starter - A starter for React/Bulma/Webpack (Resources / Starters)
README
# Template for a React/Bulma/Webpack Project
A reasonable starting point for a frontend application anno 2021:
- React without additional fluff.
- Webpack with relevant loaders including babel for ES6+ and live reloading.
- A folder for static non-embedded images and an index.html that automatically gets scripts and css added.
- Bulma plus font-awesome.
- Jest for tests.To see this particular app point your browser to http://financial-advice.christianhvid.dk
## Requirements
Node.js + npm.
## Usage
To install packages:
```
npm install
```To run in developer mode with hot reloading:
```
npm run start
```Point your webbrowser to http://localhost:1234
To create a minified distributable for deployment:
```
npm run build
```The folder 'dist' will contain the distributable; to publish the application copy all the files.
To clean the build run:
```
npm run clean
```To run tests usings jest:
```
npm run test
```To watch tests usings jest:
```
npm run watch
```To reformat using prettier:
```
npm run prettier
```