This module will have set of default tests for JSON files that we have or that we will generate in future.
Main task is here: Food-Static-Data/sd#471
We have a few files, stored at https://github.com/ChickenKyiv/awesome-food-db-strucutures/tree/master/USDA-01-06-2019
-
add tests
-
make it work
-
update structure for data and raw folders
-
update readme file
-
shelljs or shx?
-
make jsonlint script works
-
remove duplicated data from sd repository
-
make it work inside of sd repository and also maybe at generator or at csv-parser
-
separate methods for jsonlint into separated file. before it failed for some reasons... and for quick turnaroun i decide to put everything inside src/index
https://github.com/jest-community/awesome-jest https://github.com/JamieMason/expect-more/tree/master/packages/expect-more-jest https://github.com/ChickenKyiv/awesome-food-db-strucutures/tree/master/FAO
main goal for this module is to make JSONLint validator more easy and separated. it might be not very important thing for now. But as we separating our sd-wrapper and it can actually reduce logic of main package.
https://www.npmjs.com/package/validate.io-json https://www.npmjs.com/package/amanda https://www.npmjs.com/package/@mojotech/json-type-validation
https://reasonml.chat/t/large-json-schema-usage-with-reason/1432
https://itnext.io/decoding-nested-json-objects-in-reasonml-with-bs-json-4cab75fbe308
https://github.com/Sutor-Design/resources-reasonml