Use Python tool to beautify JSON into unminified /json file

This commit is contained in:
Dave Machado 2017-05-25 00:32:50 -04:00
parent f3e1fe1b30
commit b0ef43db58
No known key found for this signature in database
GPG Key ID: 948D4778D01A7B3F

View File

@ -1,7 +1,6 @@
#!/bin/bash
mkdir -p ../json
node md2json.js ../README.md > ../json/api.json
node md2json.js ../README.md > ../json/api.min.json
python -m json.tool ../json/api.min.json > ../json/api.json
cat ../json/api.json
ls -l ..
ls -l ../json