Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // You need NodeJS (https://pastebin.com/Rf1vVKsR)
- yarn add sort-json-keys
- # Replace PATH withe destination of the JSON files
- for file in $(ls PATH)
- do
- yarn sort-json-keys $file
- done
- # Wenn vorher keine package.json existiere
- rm -r package.json yarn.lock node_modules
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement