1.0.12 • Published 1 year ago

wb-handle v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

执行npm执行前执行自定义删除和拷贝文件,创建dva模版文件

1、安装

yarn add wb-handle -D

2、使用

使用在项目package.json配置如下

"scripts": {
  "start": "wbhandle copy && react-scripts start --port 3000",
  "tem": "wbhandle tem"
},
"copyModule": [
  {
    "from": "package.json", // 复制文件到指定目录
    "to": "test"
  },
  {
    "from": "image", // 复制文件夹到指定目录
    "to": "test"
  }
],
"deleteModule": "test/package" // 删除指定文件夹
npm run tem name=ceshiwenjian
npm run tem name=ceshiwenjian list // 列表模版
1.0.11

1 year ago

1.0.12

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago