whole_func_string: function main() {
    return new Promise((resolve) => {
      fsx.readFile(path.resolve(__dirname, '../package.json'), 'utf8', (err, data) => {
        if (err) {
          throw err;
        }
  
        resolve(data);
      });
    })
      .then((data) => JSON.parse(data))
      .then((packageData) => {
        const {
          author,
          version,
          description,
          keywords,
          repository,
          license,
          bugs,
          homepage,
          peerDependencies,
          dependencies,
        } = packageData;
  
        const minimalPackage = {
          name: '@boundlessgeo/sdk',
          author,
          version,
          description,
          keywords,
          repository,
          license,
          bugs,
          homepage,
          peerDependencies,
          dependencies,
        };
  
        return new Promise((resolve) => {
          const buildPath = path.resolve(__dirname, '../dist/package.json');
          const data = JSON.stringify(minimalPackage, null, 2);
          fsx.writeFile(buildPath, data, (err) => {
            if (err) {
              throw (err);
            }
            process.stdout.write(`Created package.json in ${buildPath}\n`);
            resolve();
          });
        });
      });
  }
func_code_string: function main() {
    return new Promise((resolve) => {
      fsx.readFile(path.resolve(__dirname, '../package.json'), 'utf8', (err, data) => {
        if (err) {
          throw err;
        }
  
        resolve(data);
      });
    })
      .then((data) => JSON.parse(data))
      .then((packageData) => {
        const {
          author,
          version,
          description,
          keywords,
          repository,
          license,
          bugs,
          homepage,
          peerDependencies,
          dependencies,
        } = packageData;
  
        const minimalPackage = {
          name: '@boundlessgeo/sdk',
          author,
          version,
          description,
          keywords,
          repository,
          license,
          bugs,
          homepage,
          peerDependencies,
          dependencies,
        };
  
        return new Promise((resolve) => {
          const buildPath = path.resolve(__dirname, '../dist/package.json');
          const data = JSON.stringify(minimalPackage, null, 2);
          fsx.writeFile(buildPath, data, (err) => {
            if (err) {
              throw (err);
            }
            process.stdout.write(`Created package.json in ${buildPath}\n`);
            resolve();
          });
        });
      });
  }
func_documentation_string: Make a reduced version of the package.json file
  that is more appropriate for distribution.