@nuofe/scaffolds
v0.2.2
Published
Standard scaffold of app/web/component/library/tool/config for Nuo FE. Base on mustache template system.
Downloads
3
Readme
Scaffolds
Standard scaffold of app/web/component/library/tool/config for Nuo FE. Base on mustache template system.
Structure
./
|
|---app/
| |
| \---[app scaffold]
|
|---web/
| |
| \---[web scaffold]
|
|---component/
| |
| \---[component scaffold]
|
|---library/
| |
| \---[library scaffold]
|
|---tool/
| |
| \---[tool scaffold]
|
|---config/
| |
| \---[config scaffold]
|
\---types.json
types.json
This's for @nuofe/ndk-generator, file content:
{
"[scaffold dir name]": "[scaffold description]",
}
Like this:
{
"app": "移动端应用",
"web": "桌面端站点",
"component": "组件",
"library": "类库",
"tool": "工具",
"config": "配置"
}
View
interface View: {
type: string; // [scaffold dir name]
name: string; // name-value
nAME: string; // nameValue
Name: string; // NameValue
NAME: string; // NAME_VALUE
scope: string;
description: string;
author: string;
command: string; // for tool
keywords: string[];
title: string;
};