Skip to content

bisone/ls-ui2

 
 

Repository files navigation

build status bitHound Score Dependency Status

react-component-boilerplate - Boilerplate for React.js components

This is a simple boilerplate that has been developed to make it easier to develop React components and small projects. Check out SurviveJS - Webpack and React to dig deeper into the topic.

Basic Usage

If you want to replace project meta information (author etc.), consider using a tool like replace-project-meta.

  • Linting - npm run lint - Runs ESLint.
  • Testing - npm test and npm run tdd - Runs Karma/Mocha/Chai/Phantom. Code coverage report is generated through istanbul/isparta to build/.
  • Developing - npm start - Runs the development server at localhost:8080 and use Hot Module Replacement. You can override the default host and port through env (HOST, PORT).
  • Creating a version - npm version <x.y.<> - Updates /dist and package.json with the new version and create a version tag to Git.
  • Publishing a version - npm publish - Pushes a new version to npm and updates the project site.

Highlighting Demo

var a = 5;
var b = 10;

// just trying out code highlighting feature here
console.log(a + b);

License

react-component-boilerplate is available under MIT. See LICENSE for more details.

About

Boilerplate for React.js components (MIT)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 81.9%
  • CSS 9.2%
  • Smarty 8.9%