UNPKG

apeman-tmpl-bud

Version:
174 lines (126 loc) 4.73 kB
apeman-tmpl-bud ========== <!--- This file is generated by ape-tmpl. Do not update manually. ---> <!-- Badge Start --> <a name="badges"></a> [![Build Status][bd_travis_shield_url]][bd_travis_url] [![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url] [![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url] [![npm Version][bd_npm_shield_url]][bd_npm_url] [bd_repo_url]: https://github.com/apeman-tmpl-labo/apeman-tmpl-bud [bd_travis_url]: http://travis-ci.org/apeman-tmpl-labo/apeman-tmpl-bud [bd_travis_shield_url]: http://img.shields.io/travis/apeman-tmpl-labo/apeman-tmpl-bud.svg?style=flat [bd_license_url]: https://github.com/apeman-tmpl-labo/apeman-tmpl-bud/blob/master/LICENSE [bd_codeclimate_url]: http://codeclimate.com/github/apeman-tmpl-labo/apeman-tmpl-bud [bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/apeman-tmpl-labo/apeman-tmpl-bud.svg?style=flat [bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/apeman-tmpl-labo/apeman-tmpl-bud.svg?style=flat [bd_gemnasium_url]: https://gemnasium.com/apeman-tmpl-labo/apeman-tmpl-bud [bd_gemnasium_shield_url]: https://gemnasium.com/apeman-tmpl-labo/apeman-tmpl-bud.svg [bd_npm_url]: http://www.npmjs.org/package/apeman-tmpl-bud [bd_npm_shield_url]: http://img.shields.io/npm/v/apeman-tmpl-bud.svg?style=flat [bd_bower_badge_url]: https://img.shields.io/bower/v/apeman-tmpl-bud.svg?style=flat <!-- Badge End --> <!-- Description Start --> <a name="description"></a> apeman template of bud files. <!-- Description End --> <!-- Overview Start --> <a name="overview"></a> <!-- Overview End --> <!-- Sections Start --> <a name="sections"></a> <!-- Section from "doc/guides/01.Installation.md.hbs" Start --> <a name="section-doc-guides-01-installation-md"></a> Installation ----- ```bash $ npm install apeman-tmpl-bud --save-dev ``` <!-- Section from "doc/guides/01.Installation.md.hbs" End --> <!-- Section from "doc/guides/02.Usage.md.hbs" Start --> <a name="section-doc-guides-02-usage-md"></a> Usage --------- 1. Define a tmpl within Apemanfile.js 2. Render templates via apeman tmpl command. **Apemanfile.js** ```javascript /** This example Apemanfile to use apeman-tmpl-bud */ "use strict"; module.exports = { $pkg: {/*...*/}, $tmpls: { // Map file path and template. 'src/my-dest.txt': require('apeman-tmpl-bud')({ // Pass rendering params }) } }; ``` Then, ```bash $ apeman tmpl ``` <!-- Section from "doc/guides/02.Usage.md.hbs" End --> <!-- Section from "doc/guides/03.Params.md.hbs" Start --> <a name="section-doc-guides-03-params-md"></a> Params --------- | Key | Description | | --- | -------- | | type | Template type. | #### Supported Types + [render](./asset/_render.hbs) + [binApp](./asset/bin/bin-app.hbs) + [binDaemon](./asset/bin/bin-daemon.hbs) + [binDebug](./asset/bin/bin-debug.hbs) + [binEnvLocal](./asset/bin/bin-env-local.hbs) + [binEnv](./asset/bin/bin-env.hbs) + [binMysql](./asset/bin/bin-mysql.hbs) + [binNginx](./asset/bin/bin-nginx.hbs) + [binNode](./asset/bin/bin-node.hbs) + [ciMisc](./asset/ci/ci-misc.hbs) + [ci](./asset/ci/ci.hbs) + [models](./asset/db/models.hbs) + [seeds](./asset/db/seeds.hbs) + [terminal](./asset/debug/terminal.hbs) + [env](./asset/env.hbs) + [guides](./asset/guides.hbs) + [license](./asset/license.hbs) + [locale](./asset/locale.hbs) + [nginxSite](./asset/nginx/nginx-site.hbs) + [nodeCache](./asset/node/node-cache.hbs) + [reactBrowser](./asset/react/react-browser.hbs) + [reactFragment](./asset/react/react-fragment.hbs) + [reactMixin](./asset/react/react-mixin.hbs) + [reactPage](./asset/react/react-page.hbs) + [reactView](./asset/react/react-view.hbs) + [readme](./asset/readme.hbs) + [apiRoute](./asset/route/api-route.hbs) + [reactRoute](./asset/route/react-route.hbs) + [uiRoute](./asset/route/ui-route.hbs) + [schema](./asset/schema.hbs) + [scssAttributes](./asset/scss/scss-attributes.hbs) + [scssComponents](./asset/scss/scss-components.hbs) + [scssMedia](./asset/scss/scss-media.hbs) + [scssVariables](./asset/scss/scss-variables.hbs) + [settings](./asset/settings/settings.hbs) + [routeTest](./asset/test/route-test.hbs) + [test](./asset/test/test.hbs) <!-- Section from "doc/guides/03.Params.md.hbs" End --> <!-- Sections Start --> <!-- LICENSE Start --> <a name="license"></a> License ------- This software is released under the [MIT License](https://github.com/apeman-tmpl-labo/apeman-tmpl-bud/blob/master/LICENSE). <!-- LICENSE End --> <!-- Links Start --> <a name="links"></a> Links ------ + [apeman](https://github.com/apeman-labo/apeman) + [apeman-tmpl-labo](https://github.com/apeman-tmpl-labo) <!-- Links End -->