Skip to content

Latest commit

 

History

History

example-project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

example-project

NPM version

Example to demonstrate the thought-plugin-bootprint

Installation

npm -g install bootprint
npm -g install example-project

Usage

After installing the package globally, you can run bootprint with the command

bootprint example-project  target

example.json can be found in examples/example.json in this project.

Bootprint will then generate the following files:

examples/target/
├── index.html
├── main.css
└── main.css.map

Customizing

You can write your own module that customizes the partials and helpers in this module (see the bootprint documentation) for details.

The entrypoint JavaScript-file of such a module would look like.

module.exports = function (customize) {
  return customize
    .load(require('example-project'))
    .merge({
      // You customizations here
    })

// Add "package" metadata. This can be evaluated by documentation generators
module.exports.package = require('./package')

API

see docs/api.md

License

example-project is published under the ISC-license.

No file "LICENSE*" found

Contributing guidelines

See CONTRIBUTING.md.