0.2.2 • Published 5 years ago

@nuofe/scaffolds v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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;
};
0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago