UNPKG

5.83 kBMarkdownView Raw
1apeman-proto-app
2==========
3<!---
4!!DO NOT MANUALLY EDIT THIS FILE.
5
6Generated by coz on 2/15/2016,
7from a template provided by apeman-bud-readme.
8--->
9
10<!-- Badge Start -->
11<a name="badges"></a>
12
13[![Build Status][bd_travis_shield_url]][bd_travis_url]
14[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
15[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
16[![npm Version][bd_npm_shield_url]][bd_npm_url]
17
18[bd_repo_url]: https://github.com/apeman-proto-labo/apeman-proto-app
19[bd_travis_url]: http://travis-ci.org/apeman-proto-labo/apeman-proto-app
20[bd_travis_shield_url]: http://img.shields.io/travis/apeman-proto-labo/apeman-proto-app.svg?style=flat
21[bd_travis_com_url]: http://travis-ci.com/apeman-proto-labo/apeman-proto-app
22[bd_travis_com_shield_url]: https://api.travis-ci.com/apeman-proto-labo/apeman-proto-app.svg?token=
23[bd_license_url]: https://github.com/apeman-proto-labo/apeman-proto-app/blob/master/LICENSE
24[bd_codeclimate_url]: http://codeclimate.com/github/apeman-proto-labo/apeman-proto-app
25[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/apeman-proto-labo/apeman-proto-app.svg?style=flat
26[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/apeman-proto-labo/apeman-proto-app.svg?style=flat
27[bd_gemnasium_url]: https://gemnasium.com/apeman-proto-labo/apeman-proto-app
28[bd_gemnasium_shield_url]: https://gemnasium.com/apeman-proto-labo/apeman-proto-app.svg
29[bd_npm_url]: http://www.npmjs.org/package/apeman-proto-app
30[bd_npm_shield_url]: http://img.shields.io/npm/v/apeman-proto-app.svg?style=flat
31[bd_bower_badge_url]: https://img.shields.io/bower/v/apeman-proto-app.svg?style=flat
32
33<!-- Badge End -->
34
35
36<!-- Description Start -->
37<a name="description"></a>
38
39Prototype for app project.
40
41<!-- Description End -->
42
43
44<!-- Overview Start -->
45<a name="overview"></a>
46
47
48<!-- Overview End -->
49
50
51<!-- Sections Start -->
52<a name="sections"></a>
53
54<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->
55
56<a name="section-doc-guides-01-installation-md"></a>
57Installation
58-----
59
60```bash
61$ npm install apeman-proto-app --save
62```
63
64<!-- Section from "doc/guides/01.Installation.md.hbs" End -->
65
66<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->
67
68<a name="section-doc-guides-02-usage-md"></a>
69Usage
70---------
71
72```javascript
73"use strict";
74
75module.exports = {
76 $pkg: {/*...*/},
77 $proto: [
78 // Inherit apeman-proto-app project.
79 require('apeman-proto-app')
80 ],
81 $tmpls: {/*...*/},
82 $tasks: {/*...*/}
83};
84```
85
86<!-- Section from "doc/guides/02.Usage.md.hbs" End -->
87
88<!-- Section from "doc/guides/03.Apemanfile.md.hbs" Start -->
89
90<a name="section-doc-guides-03-apemanfile-md"></a>
91## Apemanfile Configurations
92
93 + [$pkg](#apdoc-pkg)
94 + [$proto](#apdoc-proto)
95 + [$tmpls](#apdoc-tmpls)
96 + [$tasks](#apdoc-tasks)
97 + [$wtchs](#apdoc-wtchs)
98 + [$needs](#apdoc-needs)
99
100<a name="apdoc-pkg"></a>
101### $pkg
102
103| Name | Value |
104| --- | ---- |
105| name | apeman-proto-app |
106| version | 1.0.12 |
107| description | Prototype for app project. |
108
109<a name="apdoc-proto"></a>
110### $proto
111
112+ [apeman-proto-abstract](https://github.com/apeman-proto-labo/apeman-proto-abstract#readme)
113+ [apeman-proto-wtch](https://github.com/apeman-proto-labo/apeman-proto-wtch#readme)
114+ [apeman-proto-mocha](https://github.com/apeman-proto-labo/apeman-proto-mocha#readme)
115
116<a name="apdoc-tmpls"></a>
117### $tmpls
118
119| Path | Force | Mode | Tmpl | Data |
120| ---- | ---- | ---- | --- | --- |
121| **errors/.html.bud** | false | '644' | `/** * Bud file for error * Executin...` | {"year":2016,"params":{"type":"error"... |
122| **middlewares/index.js** | false | '644' | `/** * Exports middleware modules. *...` | {"params":{},"generator":"apeman-tmpl... |
123| **public/humans.txt** | false | '644' | `{{! apeman-tmpl-humans }} /* TEAM */ ...` | {"params":{},"generator":"apeman-tmpl... |
124| **public/robots.txt** | false | '644' | `{{! apeman-tmpl-robot }}# robot.txt #...` | {"params":{"disallow":["errors","tmp"... |
125| **routes/index.js** | false | '644' | `/** * Exports route modules. * * G...` | {"params":{},"generator":"apeman-tmpl... |
126| **settings/index.js** | false | '644' | `/** * Project settings. * * Genera...` | {"params":{},"generator":"apeman-tmpl... |
127| **tests/.test.js.bud** | false | '644' | `#!/usr/bin/env node /** * Bud file ...` | {"year":2016,"params":{"type":"route-... |
128
129<a name="apdoc-tasks"></a>
130### $tasks
131
132| Name | Description |
133| ---- | --- |
134| **app:fmt** | Format a json file. |
135| **app:mkdir** | Generate directories for app. |
136| **app:render** | Render bud files. |
137| **app:test** | ["mocha:run"] |
138| **mocha:mkdir** | Generate directories for project with mocha. |
139| **mocha:render** | Render files for project with mocha. |
140| **mocha:run** | Run mocha tests. |
141| **test:mkdir** | Generate directories. |
142| **test:render** | Render coz bud files. |
143| **wtch:list** | List available watches. |
144| **wtch:start** | Start all watches. |
145
146<a name="apdoc-wtchs"></a>
147### $wtchs
148
149| Name | Description |
150| ---- | --- |
151| **app:render** | {"pattern":"+(errors|public|routes|tests|settings)/**/.*.bud"} |
152| **test:render** | {"pattern":["tests/**/.*.bud"]} |
153
154<a name="apdoc-needs"></a>
155### $needs
156
157| Bin | How to install |
158| --- | ----- |
159| **apeman** | `npm install -g apeman` |
160| **mocha** | `npm install -g mocha` |
161
162
163<!-- Section from "doc/guides/03.Apemanfile.md.hbs" End -->
164
165
166<!-- Sections Start -->
167
168
169<!-- LICENSE Start -->
170<a name="license"></a>
171
172License
173-------
174This software is released under the [MIT License](https://github.com/apeman-proto-labo/apeman-proto-app/blob/master/LICENSE).
175
176<!-- LICENSE End -->
177
178
179<!-- Links Start -->
180<a name="links"></a>
181
182Links
183------
184
185+ [apeman](http://github.com/apeman-labo/apeman)
186+ [apeman-proto-labo](http://github.com/apeman-proto-labo)
187
188<!-- Links End -->