🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

jenerate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jenerate

Framework-agnostic, customizable Javascript module generator.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
4
-20%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

javascript

FAQs

Package last updated on 23 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts