Skip to content

๐Ÿ‡ Monorepo for React components

License

Notifications You must be signed in to change notification settings

nkbt/react-works

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

react-works

Monorepo for React components

Gitter CircleCI Dependencies Dev Dependencies

Packages

package npm
packages/bulkhead react-bulkhead
packages/element-resize react-element-resize
packages/swap react-swap
packages/interval react-interval
packages/page-click react-page-click
packages/normalized-select react-normalized-select
packages/text-filter react-text-filter

Development and testing

Install

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

git clone [email protected]:nkbt/react-works.git
cd react-works
yarn install

Run tests for all packages

# to run eslint for all packages
yarn lerna run lint

# to run tests for all packages
yarn lerna run test

# to run end-to-end tests for all packages
yarn lerna run e2e

Run package example

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

cd packages/package-name
yarn start

# then
open http://localhost:8080

Test one package only

cd packages/package-name

# to run lint
yarn lint

# to run tests
yarn test

License

MIT