1.0.0 • Published 8 years ago

react-skeleton-kit v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

REACT STARTER KIT

Webapp React/Redux/Webpack/hot-loader

Travis codecov coverage

Installation

install dependancies

$ npm i

Run application locally

$ npm start

Then go to http://localhost:8080/

Development

Run tests

$ npm test
$ npm run watch:test

Run cover

$ npm run cover

Run the local server for styleguide

$ npm run styleguide-server

Run build for the styleguide

$ npm run styleguide-build

Production

Publish a release

$ npm run publish

Run build production

$ npm run build

Architecture

├── /build/                     # The folder for compiled outputs
├── ├── /bundle.dev.js          # The bundle unminified
├── ├── /bundle.prod.js         # The bundle minified for the prod env
├── ├── /index.html             # The page html where the app is render
├── /src/                       # Sources
│   ├── /actions/               # Action creators for redux
│   ├── /components/            # Components disconnected from the redux store
│   │   ├── /Component/         # Component structure
│   │       ├── /__tests__/     # Tests using Mocha
│   │       ├── /index.css      # CSS for the component
│   │       ├── /index.js       # React Component
│   ├── /config/                # Project config
│   ├── /containers/            # Components connected to the redux store
│   ├── /middlewares/           # Redux middlewares
│   ├── /reducers/              # Redux reducers
│   ├── /index.js               # Entry point of the application
│   ├── /router.js              # Nested routes for react router
│   ├── /store.js               # Redux sore configuration
├── webpack.config.js           # Configurations for client-side and server-side bundles
└── package.json                # The list of libraries and utilities

Changelog

Contributing

Stack