applets-conversion-cli
v0.0.6
Published
applets conversion cli <https://github.com/CaMnter/applets-conversion-cli>
Downloads
31
Maintainers
Readme
applets-conversion-cli
简介
小程序转换工具,支持了较为普遍的转换场景,比如:xml,js,css。目前,只支持「微信」 和「支付宝」
安装
# npm
npm install applets-conversion-tool -g
# yarn
yarn add applets-conversion-tool global使用
参数
Demo
# -s
applets-cli -t wx -e my -s test/applets/wechat-demo
# -o
applets-cli -t wx -e my -s test/applets/wechat-demo -o test/applets/wechat-demo-to-alipay
# -f
applets-cli -t wx -e my -s test/applets/wechat-demo -o test/applets/wechat-demo-to-alipay-filter -f expect-filter-dir
# -5
applets-cli -t wx -e my -s test/applets/wechat-demo -o test/applets/wechat-demo-to-alipay-filter-es5 -f expect-filter-dir -5 trueBuild
# init
yarn install
# build
./node_modules/gulp/bin/gulp.jsTest
# npm
npm run test
# yarn
yarn test截图
Alipay
Test
TODO
- [ ] json
- [ ] wxs, sjs
- [ ] tt applets
- [x] class properties「plugin」
License
Copyright (C) 2019 CaMnter [email protected]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.