Skip to content

JezzWTF/package-scripts-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Package Scripts Sorter

Keep your package.json scripts tidy. This extension detects when the scripts section is out of alphabetical order and offers a one-click fix.

Features

  • Warns when package.json scripts are not in alphabetical order
  • Highlights the "scripts" key with a warning diagnostic
  • Quick fix via the lightbulb menu or Ctrl+. / Cmd+.: Sort scripts alphabetically
  • Also available from the Command Palette: Sort package.json Scripts Alphabetically
  • Preserves your existing indentation style

Requirements

No additional tools or configuration needed.

Extension Settings

This extension does not contribute any settings.

Known Issues

None.

Release Notes

0.0.1

Initial release.

About

VS Code extension that detects unsorted scripts in package.json and offers to sort them alphabetically

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors