mirror of
https://github.com/public-apis/public-apis.git
synced 2024-07-15 00:00:24 +02:00
Use Python tool to beautify JSON into unminified /json file
This commit is contained in:
parent
f3e1fe1b30
commit
b0ef43db58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user