@finclip/npm-builder

1.0.3 • Public • Published
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/'
})

Readme

Keywords

none

Package Sidebar

Install

npm i @finclip/npm-builder

Weekly Downloads

9

Version

1.0.3

License

ISC

Unpacked Size

9.62 kB

Total Files

4

Last publish

Collaborators

  • finclip