Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurosame/react-boilerplate
Boilerplate to develop a React App
https://github.com/kurosame/react-boilerplate
babel boilerplate circleci cypress ducks eslint jest prettier react react-hooks react-router redux redux-actions redux-saga storybook styled-components stylelint typescript webpack
Last synced: about 1 month ago
JSON representation
Boilerplate to develop a React App
- Host: GitHub
- URL: https://github.com/kurosame/react-boilerplate
- Owner: kurosame
- License: mit
- Created: 2018-05-02T08:27:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T14:42:32.000Z (about 4 years ago)
- Last Synced: 2023-03-03T21:32:07.578Z (almost 2 years ago)
- Topics: babel, boilerplate, circleci, cypress, ducks, eslint, jest, prettier, react, react-hooks, react-router, redux, redux-actions, redux-saga, storybook, styled-components, stylelint, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 1.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Boilerplate
## Usage
```sh
git clone https://github.com/kurosame/react-boilerplate.git
npm install
```## Tasks
```sh
npm start # Run webpack-dev-server
npm run start:e2e # Run webpack-dev-server for E2E test
npm run start:mock # Run mock
npm run start:server # Run server
npm run start:server:e2e # Run server for E2E test
npm run build # Build for development
npm run build:production # Build for production
npm test # Unit test (Jest + vue-test-utils)
npm run test:ci # Unit test for CI
npm run e2e # E2E test (Cypress)
npm run e2e:ci # E2E test for CI
npm run e2e:run # Run Cypress for E2E test
npm run e2e:run:ci # Run Cypress for E2E test for CI
npm run storybook # Storybook
npm run storybook:run # Run Storybook
npm run clean:cache # Clear cache of webpack
npm run clean:dist # Clear dist directory
npm run clean:screenshots # Clear screenshots of Cypress
```## Mock
Mock server is start at port 3000 when the `npm start`
You can check the redux-saga sample
Also, you can edit fixtures/mock.json
using [json-server](https://github.com/typicode/json-server)## License
MIT