@forchange/migrate-mock
mock 迁移脚本
Last updated 9 months ago by chenle .
ISC · Original npm · Tarball · package.json
$ cnpm install @forchange/migrate-mock 
SYNC missed versions from official npm registry.

mock-migrate

mock 迁移脚本

安装

$ yarn global add @forchange/field-transform"

cmm

将 data 数据迁移至 mock_next 文件夹

使用

$ cmm -s <现有mock数据文件路径>

cmt

将文件路径中 :id 转换为 {id},以便兼容 windows

使用

$ cmt -c <data 文件夹相对路径>

cea

将 eolinker 数据转换为 ams 元数据 接口数据存储在 next_ams 文件夹下,模块配置存储在 config.json 下

使用

  • 导出 eolinker 数据为 open api,格式为 json
  • 转换数据
$ cmt -c <json 数据相对路径>

Current Tags

  • 0.0.11                                ...           latest (9 months ago)

10 Versions

  • 0.0.11                                ...           9 months ago
  • 0.0.9                                ...           9 months ago
  • 0.0.8                                ...           9 months ago
  • 0.0.7                                ...           9 months ago
  • 0.0.6                                ...           9 months ago
  • 0.0.5                                ...           9 months ago
  • 0.0.4                                ...           9 months ago
  • 0.0.3                                ...           9 months ago
  • 0.0.2                                ...           9 months ago
  • 0.0.1                                ...           9 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |