daniloster / react-experiments

Sandbox for experimenting react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Experiments

Sandbox for experimenting react

Current core dependencies versions

  • node >= 6.9.5
  • npm >= 3.9.3
  • yarn (version may be check at package.json)
  • lerna (version may be check at lerna.json)

Getting started (at root level):

  • npm run tools this will install the correct version of yarn and lerna globally
  • npm run bootstrap this will bootstrap the packages
  • npm run validate (this will run test, coverage and check coverage, the packages will only get published if all them get passed) this will run in series: test, coverage and check-coverage for all packages affected
  • npm test (optional) will run the test for all packages affected
  • npm run coverage (optional) will run the coverage for all packages affected
  • npm run check-coverage (optional) will run the check-coverage for all packages affected (minimum is 95% for all: statements, branches, functions and lines)

How to create a subpackage using the CLI?

npm run cli -- create my-package-name // it will get generated at packages/myPackageName

More info:

npm run cli -- --help

Contributions rules

  • Changes must be approved;
  • Changes must have tests passing on Travis-CI;
  • Changes must have coverage of 95% on Travis-CI for: statements, branches, functions and lines;
  • Last commit message must have attribute [release=major|minor|patch|no-release];

Metrics

Build Status BCH compliance

Packages

About

Sandbox for experimenting react

License:MIT License


Languages

Language:JavaScript 94.8%Language:CSS 4.0%Language:Shell 1.1%