Narcoleptic's Patch Mangler

    wx-to-tt
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.6 • Public • Published

    字节跳动小程序一键搬家工具

    Introduction:

    帮助微信小程序的开发者快速迁移到字节跳动小程序

    Quick Start

    1. 安装

      npm i wx-to-tt
    2. wx2tt -i 微信小程序目录 source-directory -o 生成字节跳动小程序的目录

      wx2tt -i ./wxProjects/demo -o ./ttProjects/demo
    3. 可查看转换日志

    Feature

    1. parse, traverse, transform, generate
    2. 文件后缀替换,.wxml -> .ttml, .wxss -> .ttss, .wxs -> .sjs
    3. API 前缀替换,wx -> tt
    4. 支持命令行转换
    5. 转换日志及优化提示

    Install

    npm i wx-to-tt

    DownloadsWeekly Downloads

    66

    Version

    0.2.6

    License

    ISC

    Unpacked Size

    83.3 kB

    Total Files

    32

    Last publish

    Collaborators

    • satsuki.ear
    • yurui.hippo
    • huangjunming
    • lieheng
    • bingming