jenerate

0.0.1 • Public • Published

jenerate Build Status Dependency Status devDependency Status

A framework-agnostic, customizable Javascript module generator.

To install:

npm install --save-dev jenerate

To run:

jenerate <command> <arguments>
Arguments

Configuration

jenerate.conf.js:

var ReactJen = require('react-jen');

module.exports = {

  component: [
    {
      template: ReactJen.component,
      fileNameSchema: '<% ComponentName %>.js',
      outputDir: './js/components/'
    },
    {
      template: ReactJen.componentTest,
      fileNameSchema: '<% ComponentName %>.test.js',
      outputDir: './test/components/'
    }
  ]

};

Note: When specifying outputDir, this directory must already exist to prevent access errors. It can still be an empty directory.

Package Sidebar

Install

npm i jenerate

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jakemmarsh