diff --git a/src/actions/setup/steps.js b/src/actions/setup/steps.js index 6911a93..213cccb 100644 --- a/src/actions/setup/steps.js +++ b/src/actions/setup/steps.js @@ -36,10 +36,8 @@ export const updatePackageJson = async (config) => { export const generateReadme = async (config) => { const PACKAGE_JSON_PATH = './package.json'; - const { - name: packageJsonName, - license: packageJsonLicense, - } = await jsonfile.readFile(PACKAGE_JSON_PATH); + const { name: packageJsonName, license: packageJsonLicense } = + await jsonfile.readFile(PACKAGE_JSON_PATH); await replace({ files: `./README.md`, from: [ diff --git a/src/lib/package-json.js b/src/lib/package-json.js index 16a3cca..82fb793 100644 --- a/src/lib/package-json.js +++ b/src/lib/package-json.js @@ -1,7 +1,7 @@ /** * Logics of generate package.json as per component type. * - * @returns {object} The generated package.json content. + * @type {Object} The generated package.json content. */ const configPackageJsonFromTemplate = (config, template) => { const output = {};