UNPKG

apex-nitro

Version:
117 lines (112 loc) 2.06 kB
'use strict'; module.exports = { asciiLogo() { return String.raw` _ ____ _____ __ __ _ _ _ _ / \ | _ \ | ____|\ \/ / | \ | |(_)| |_ _ __ ___ / _ \ | |_) || _| \ / | \| || || __|| '__|/ _ \ / ___ \ | __/ | |___ / \ | |\ || || |_ | | | (_) | /_/ \_\|_| |_____|/_/\_\ |_| \_||_| \__||_| \___/ `; }, banner() { return ['/*!', ' * <%= pkg.name %> - <%= pkg.description %>', ' * @author <%= pkg.author %>', ' * @version v<%= pkg.version %>', ' * @link <%= pkg.homepage %>', ' * @license <%= pkg.license %>', ' */', '']; }, bannerES6(pkg) { return `${pkg.name} - ${pkg.description} @author ${pkg.author} @version v${pkg.version} @link ${pkg.homepage} @license ${pkg.license}`; }, mapping() { return [{ oldKey: 'jsConcat.enabled', newKey: 'js.concat' }, { oldKey: 'jsConcat.finalName', newKey: 'js.concatFilename' }, { oldKey: 'cssConcat.enabled', newKey: 'css.concat' }, { oldKey: 'cssConcat.finalName', newKey: 'css.concatFilename' }, { oldKey: 'sass.includePath', newKey: 'css.sassIncludePath' }, { oldKey: 'less.includePath', newKey: 'css.lessIncludePath' }, { oldKey: 'sass.enabled', newKey: 'css.language', values: [{ oldValue: true, newValue: 'sass' }] }, { oldKey: 'less.enabled', newKey: 'css.language', values: [{ oldValue: true, newValue: 'less' }] }, { oldKey: 'jsConcat' }, { oldKey: 'cssConcat' }, { oldKey: 'sass' }, { oldKey: 'less' }, { newKey: 'mode', dependsOn: { key: 'distFolder', if: undefined, ifValue: 'basic', elseValue: 'advanced' } }, { oldKey: 'apex.apexDestination', newKey: 'sqlcl.destination' }, { oldKey: 'sqlcl', newKey: 'publish' }, { oldKey: 'publish.apexDestination', newKey: 'publish.destination' }, { newKey: 'browsersync.realTime', dependsOn: { key: 'browsersync.realTime', if: undefined, ifValue: true } }]; } };