Hello wrapper library

This commit is contained in:
2018-04-18 18:51:27 +02:00
parent 38a25caaa4
commit d5e68e1639
20 changed files with 694 additions and 244 deletions

View File

@@ -26,6 +26,6 @@ files.forEach((fileName) => {
}, {});
fs.writeFileSync(addresseFile, JSON.stringify(addresses));
let indexFile = path.join(libPath, 'index.js');
fs.writeFileSync(indexFile, `module.exports = ${JSON.stringify(files)};`);
});
console.log("Don't forget to reaload the JSON files from your application; i.e. restart kredits-web");