https://github.com/ship-components/react-client
A minimal react client with some amenities.
https://github.com/ship-components/react-client
Last synced: 19 days ago
JSON representation
A minimal react client with some amenities.
- Host: GitHub
- URL: https://github.com/ship-components/react-client
- Owner: ship-components
- License: mit
- Created: 2017-10-25T20:08:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-30T21:17:34.000Z (over 8 years ago)
- Last Synced: 2026-02-24T14:09:43.041Z (4 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Base React Application
## About
This project is intended to provide a minimal groundwork for building React clients for integration with SHIP Microservices.
## Installation
* `$ npm install`
## Commands
* `$ npm run build` - builds assets and drops them
* `$ npm run dev` - runs webpack-dev-server
into /dist folder (configured in webpack)
* note: running dev server destroys the dist folder... this is not done on purpose.
## The Tech
* Runtime
* React - app view framework
* Redux - app data storage
* Immutable - Facebook's immutable object lib
* Bluebird - extended Promise library
* Build/Dev
* Webpack
* dev server -- view built code
* loaders
* eslint-loader
* babel-loader
* strict-loader
* Babel
* presets: [env, react]
* CSS - NOT IMPLEMENTED
* autoprefixer adds vendor prefixes, using data from Can I Use.
* cssmodules
* ESLint
* Flow
* .flowconfig is in place but currently shelved because of issues with Immutable.js types
https://github.com/flowtype/flow-typed/issues/1068
* to enable flow, add /* @flow */ to any file you wish to add type checking. Any type errors will show in node's build output, or in your IDE if you configure some plugins.
* installed flow types are located in /flow-typed and are installed using
`$ npm install -g flow-typed`
`$ flow-typed install`
except immutable_v3.x.x.js which is linked on the issue above
* Testing
* Jest
* Enzyme