0.0.7 • Published 7 years ago
bond-search-engine v0.0.7
Bond Search Engine
This is a react search engine component to be used in bond react projects
It includes linting with ESLint and testing with Mocha, Enzyme and JSDOM.
Also there is of course ES6 transpilation.
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).