0.1.2 • Published 7 years ago
mcs-lite-fetch-rx v0.1.2
MCS Lite
Note: MCS Lite core and Desktop website is being developed at https://github.com/iamblue/mcs-lite-app.
- Try UI online - http://mcs-lite-ui.netlify.com/
- Introduction - http://mcs-lite-introduction.netlify.com/
- Developer Guide
Requirements
- node >= 7.5.0
- npm >= 4.1.2
Packages
Package | Description | Version | Downloads |
---|---|---|---|
babel-preset-mcs-lite | Babel preset used by MCS Lite | ||
eslint-config-mcs-lite | Eslint config used by MCS Lite | ||
mcs-lite-connect | Connect MCS with WebSocket | ||
mcs-lite-design | The source images to be compressed used by MCS Lite | ||
mcs-lite-icon | Convert SVG icon to React components | ||
mcs-lite-introduction | GitBook for MCS Lite documentation | ||
mcs-lite-mobile-web | MCS Lite Mobile Web | ||
mcs-lite-scripts | Shared scripts and CLI used by MCS Lite | ||
mcs-lite-theme | Defined Theme and helpers for mcs-lite-ui | ||
mcs-lite-ui | Common UI used by MCS Lite | ||
react-intl-cra | Extract messages of Creact React App from the command line | ||
react-intl-inject-hoc | The convenience HOC of react-intl injectIntl | ||
stylelint-config-mcs-lite | Stylelint config used by MCS Lite |
Install
$ npm i mcs-lite-ui mcs-lite-icon mcs-lite-theme --save
Development
$ npm install # Install all external dependencies of each package.
$ npm run clean # Remove all node_modules
Building all mono-packages
# scripts => design => icon => theme => ui
$ ./tasks/build.sh
Testing
$ ./tasks/test.sh
mcs-lite-ui
Development
$ npm start
Testing
$ npm run test:watch
WebSocket PORT
Replace __SOCKET_PORT_FROM_SERVER__
in the build/index.html
file. (Default to 8000
)
NPM Scipts Interface
Root
- npm run clean: remove all node_modules
- lint: eslint, styledlint and flow
- npm run format: prettier
- npm run release: publish
Packages
Package | clean | test | start | build |
---|---|---|---|---|
babel-preset-mcs-lite | V | |||
eslint-config-mcs-lite | V | |||
mcs-lite-connect | V | V | ||
mcs-lite-design | V | V | ||
mcs-lite-icon | V | V | ||
mcs-lite-introduction | V | V | V | |
mcs-lite-mobile-web | V | V | V | V |
mcs-lite-scripts | V | V | ||
mcs-lite-theme | V | V | ||
mcs-lite-ui | V | V | V | V |
react-intl-cra | ||||
react-intl-inject-hoc | V | V | ||
stylelint-config-mcs-lite | V |
Internal Notes
npm-check-updates
$ npm install -g npm-check-updates
$ ncu && lerna exec --concurrency 1 -- ncu # check for all packages
$ ncu -au && lerna exec --concurrency 1 -- ncu -au # update packages.json
license-checker
$ npm i license-checker -g
$ cd mcs-lite/
$ npm run clean
$ npm i
$ license-checker --csv --out docs/licenses.csv
CONTRIBUTING
CHANGELOG
LICENSE
Team
Michael Hsu | Abel Chen | Abby Chiu | Daria Chen | blue chen |
@evenchange4 | @cettoana | @abby1002 | @dariachen | @iamblue |
@evenchange4 |