follow the quicktype command in postInstall which uses process.cwd to check for current working directory
remove schema compilation logic from postInstall.js so that npm i wont trigger it. Furthermore, made use of prebuild script (preBuild.js) to compile schema
add prebuild script in test so that test files can retrieve the schema files
Context
To resolve this error when
npm i
.What this PR does
process.cwd
to check for current working directorynpm i
wont trigger it. Furthermore, made use of prebuild script (preBuild.js) to compile schema