Skip to content

Framework-agnostic, customizable Javascript module generator.

License

Notifications You must be signed in to change notification settings

jeneratejs/jenerate

Repository files navigation

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.

About

Framework-agnostic, customizable Javascript module generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published