0.1.7 • Published 5 years ago

@yhdx-weapp/build-npm v0.1.7

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

@weapp/build-npm

替代微信开发者工具中的 build npm 功能, 脚本化

原理

  1. 读取当前目录下的 package.json 文件中的 dependencies 字段

  2. 过滤到 dependencies 目录中的 package.json 不包含 miniprogram 的 module

  3. copy 过滤后的 modules 到 dist(可指定) 下的 miniprogram_npm 目录下

Usage

yarn add @yhdx-weapp/build-npm
./node_modules/.bin/build-npm ./dist

Option

build-npm target

target: 输出目录的位置

0.1.7

5 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago