To use the scripts, first clone the repo and run npm install to install necessary modules.
The script migrate-v1-to-v2.js accepts task.json v1 from stdin and output task.json v2 to stdout.
To migrate your old task.json file:
cat old-task.json | ./migrate-v1-to-v2.js > new-task.jsonTo sort the properties in each task object (v2):
cat task.json | ./sort-properties.js > new-task.json