UNPKG

@salesforce/dev-scripts

Version:

Standardize package.json scripts and config files for Salesforce projects.

17 lines (15 loc) 397 B
/* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ module.exports = (map) => { const ordered = {}; Object.keys(map) .sort() .forEach((key) => { ordered[key] = map[key]; }); return ordered; };