@mbernal/login-page
v1.0.9
Published
A React Component Starter
Downloads
21
Readme
New Selkirk React Component
Place component description here...
Notes
Place any special considerations, limitations etc here
Component Example
// Place code example of how to use your component
Boilerplate
The package is based on react-npm-boilerplate. This one is prepared to be used as a starter point for React components which needs to be published on Npm.
It includes linting with ESLint and testing with Mocha, Enzyme and JSDOM.
Also there is of course ES6 transpilation.
Basic Usage
- Clone this repo
- Inside cloned repo run
npm install
- If you want to run tests:
npm test
ornpm run testonly
ornpm run test-watch
. You need to write tests in__tests__
folder. You need at least Node 4 on your machine to run tests. - If you want to run linting:
npm test
ornpm run lint
. Fix bugs:npm run lint-fix
. You can adjust your.eslintrc
config file. - If you want to run transpilation to ES5 in
dist
folder:npm run prepublish
(standard npm hook).