0.0.6 • Published 12 years ago

module-driven v0.0.6

Weekly downloads
33
License
-
Repository
github
Last release
12 years ago

Installation

$ npm install -g module-driven

Setup

First create yourself the directory for the template folder.

$ mkdir -p ~/.config/moduleDriven

Now populate the folder with the files your template files. Use the .mdtmpl extension for any files you want to parameterize. These files will be treated as handlebars templates.

Example template file (packages.json.mdtmpl)

{
  "name": "{{name}}",
  "description": "{{description}}",
  "version": "0.0.1",
  "repository": {
    "url": "git://github.com/curious-attempt-bunny/{{name}}.git"
  },
  "main": "index.js",
  "scripts": {
    "test": "tap test/*.js"
  },
  "dependencies": {
  },
  "devDependencies": {
    "tap": "~0.4.3",
    "tape": "~1.0.2"
  }
}

Usage

moduleDriven my-new-nodejs-module-name
0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago