code: async function copyPackageJson(dirPath, options) {
    let content = await _.readFile(path.join(templateProject, 'package.json'))
  
    content = content.replace(/("name": ")(?:.*)(")/ig, `$1${options.name}$2`)
    content = content.replace(/("version": ")(?:.*)(")/ig, `$1${options.version}$2`)
    content = content.replace(/("url": ")(?:.*)(")/ig, `$1${options.git}$2`)
    content = content.replace(/("author": ")(?:.*)(")/ig, `$1${options.author}$2`)
    content = content.replace(/("miniprogram": ")(?:.*)(")/ig, `$1${options.dist}$2`)
    content = content.replace(/("main": ")(?:.*)(")/ig, `$1${options.dist}/index.js$2`)
  
    await _.writeFile(path.join(dirPath, 'package.json'), content)
  }
docs: 拷贝 package.json