New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ugen

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ugen

Scaffolding tool for new apps

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Ugen

Build Status Code Climate Test Coverage npm version

CLI tool for scaffolding new apps.

Install

  npm i -g ugen

Create Ugen package

  # Create package folder
  mkdir APP_DIR_NAME && cd APP_DIR_NAME

  # Copy some files and templates in folder 'boilerplate'
  # Template file must have *.template extension
  # There are should be placed tags like <% TAG_NAME %> inside a template
  mkdir boilerplate && cp SOME_DIR/* ./boilerpalate

  # Create ugen.config.js
  ugen config

Update ugen.config.js if you need

Config is presented in json format. One of the properties of this config is "questions". For example, you can add validation function for every question. It would be great to use validator.js for this purpose.

Build app from package

  # Build app from Ugen package folder
  ugen build

  # After that you can remove 'boilerplate' folder from app
  rm -rf boilerplate

Demo

Try Example

  npm i -g ugen
  git clone git@github.com:Oversan/ugen.git && cd ugen/example
  ugen config
  ugen build
  # rm -rf ./boilerplate
  npm i

License

MIT license

Keywords

cli-app

FAQs

Package last updated on 27 Apr 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