checking-tool-wrapper

7.4.10 • Public • Published

checking-tool-wrapper

Build Status npm npm

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;

Readme

Keywords

none

Package Sidebar

Install

npm i checking-tool-wrapper

Weekly Downloads

11

Version

7.4.10

License

MIT

Unpacked Size

2.01 MB

Total Files

85

Last publish

Collaborators

  • joelcjohnson94
  • abelpz
  • kintsoogii
  • larsgson
  • jakobaleksandrovich
  • neutrinog
  • klappy
  • macolon
  • photo-nomad
  • richmahn
  • bspidel
  • mandolyte
  • jag3773
  • mvahowe