0.3.4 • Published 5 years ago

tc-tool-wrapper v0.3.4

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

tc-tool-wrapper

translationCore tool wrapper

Usage

  • Install tc-tool-wrapper in tCore repo.

    npm i tc-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 'tc-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 chnages.
  • Run npm i translationCoreApps/tc-tool-wrapper#my-feature-branch in your translationCore root directory.
0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago