@finclip/npm-builder
v1.0.3
Published
```javascript const { packNpm, packNpmManually } = require('./index')
Downloads
35
Readme
const { packNpm, packNpmManually } = require('./index')
// https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html#%E6%9E%84%E5%BB%BAnpm
packNpm('/Users/xxx/xxxx/minicode-14', {
ignores: ['pack_npm_ignore_list'],
reporter: (infos) => { console.log(infos) }
})
// https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html#%E8%87%AA%E5%AE%9A%E4%B9%89-node-modules-%E4%BD%8D%E7%BD%AE%E7%9A%84%E6%9E%84%E5%BB%BA-npm
packNpmManually({
packageJsonPath: '../lib/package.json',
miniprogramNpmDistDir: '../minicode-14/miniprogram/'
})