checking-tool-wrapper
v7.4.10
Published
Checking tool wrapper for translationCore App
Downloads
38
Maintainers
Keywords
Readme
checking-tool-wrapper
Checking tool wrapper for translationCore App.
Usage
Install
checking-tool-wrapper
in tCore repo.npm i checking-tool-wrapper
Write the following code in the tool's
index.js
file:import {connectTool} from 'tc-tool'; import {connect} from 'react-redux'; import path from 'path'; import { Api, Container, mapStateToProps } from 'checking-tool-wrapper'; export default connectTool('translationWords', { localeDir: path.join(__dirname, './src/locale'), api: new Api() })(connect(mapStateToProps)(Container));
Testing your changes
- Create your feature/bugfix/enhancement (my-feature-branch)branch off of master.
- Make your changes in the new branch (my-feature-branch).
- Push your changes.
- Run
npm i unfoldingWord/checking-tool-wrapper#my-feature-branch
in your translationCore root directory. - For subsequent changes run
rm -rf node_modules/checking-tool-wrapper; npm i checking-tool-wrapper;