1.4.4 • Published 7 years ago

sg-templates v1.4.4

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
7 years ago

sg-templates

Build Status npm Version JS Standard

Templates for SUGOS

Installation

$ npm install sg-templates --save

Usage

#!/usr/bin/env node

/**
 * Example usage
 */

'use strict'

const pkg = require('../package.json')
const { moduleIndex } = require('sg-templates')

// Define coz bud
module.exports = {
  force: true,
  mode: '444',
  tmpl: moduleIndex,
  data: {
    name: 'MyModule',
    pkg
  }
}

if (!module.parent) {
  require('coz').render(__filename)
}

Templates

NamePath
moduleApiassets/module-api.hbs
moduleIndexassets/module-index.hbs
reactIndexassets/react-index.hbs
reactTestassets/react-test.hbs

License

This software is released under the Apache-2.0 License.

Links

1.4.4

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.2.5

7 years ago