1.0.14 • Published 3 years ago

roman-filecopy v1.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

npm install roman-filecopy

说明

Git地址:roman-filecopy

Git应用:html-code-manager

命令说明:

npm install -g 安装 或 npm install --save-dev && npm link

romanc 模板名称 自定义名称
exp: romanc html xxxx  将从templates文件夹中复制一份html文件在codes文件夹下创建html项目,文件夹名称为 前缀+数字_xxxx

romanc -init // 对指令所执行的文件夹进行初始化
romanc -eh/-exporthome // 导出首页,可进行修改
romanc -server  //启动html浏览服务
romanc -tl/-templatelist  //查询templates中的模板列表
romanc -v/-version // 版本查询
romanc -h/-help //查看帮助

配置文件:

{
  "port": 3000, // 默认端口号
  "autoOpenBrowser": false, // 是否在server启动后自动启动浏览器
  "codeDirName": "codes", // 存储代码的目录名称
  "templateDirName": "templates", // 存储模板的目录名称
  "staticDirName": "static", // 存储静态资源的目录名称
  "destPrefix": "c", // 默认生成的文件名前缀
  "exclude": [
    "node" // 浏览器忽略在存储代码目录中的目录名称数组
  ]
}
1.0.14

3 years ago

1.0.9

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago