Skip to content

Repository files navigation

react-works

Monorepo for React components

GitterCircleCIDependenciesDev Dependencies

Packages

packagenpm
packages/bulkheadreact-bulkhead
packages/element-resizereact-element-resize
packages/swapreact-swap
packages/intervalreact-interval
packages/page-clickreact-page-click
packages/normalized-selectreact-normalized-select
packages/text-filterreact-text-filter

Development and testing

Install

Currently is being developed and tested with the latest stable Node 7 on OSX.

git clone git@github.com:nkbt/react-works.git
cd react-works
npm install
# install dependencies for all packages
lerna bootstrap

Run tests for all packages

# to run eslint for all packages
lerna run start lint
# to run tests for all packages
lerna run start test# to run end-to-end tests for all packages# note `--concurrency 1`, we should run e2e in sequence
lerna run start e2e --concurrency 1

Run package example

To run example covering all package features, use npm start, which will compile example/index.js

cd packages/package-name
npm start
# then
open http://localhost:8080

Test one package only

cd packages/package-name
# to run lint
npm start lint
# to run tests
npm start test# to run end-to-end tests
npm start e2e

Moar badges

Greenkeeper badge

License

MIT

About

🍇 Monorepo for React components

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages