I am surprised you are using Python to compile all the JS files from src, especially since for Sushi you are using Node and NPM already.
If all your files were formatted as common.js, with NPM and browserify, you would need only one line in your package.json to compile:
browserify src/tempura.js > /bin/tempura.js
assuming that in your src/tempura.js you had required all the other ones.
That would really simplify greatly the readability, since you have translated all the ML functions in javascript, why don't you use NodeJs (ie server side javascript)?
The following is a great article on how to use NPM as your build tool.
I am surprised you are using Python to compile all the JS files from src, especially since for Sushi you are using Node and NPM already. If all your files were formatted as
common.js
, with NPM and browserify, you would need only one line in yourpackage.json
to compile:browserify src/tempura.js > /bin/tempura.js
assuming that in your src/tempura.js you had required all the other ones. That would really simplify greatly the readability, since you have translated all the ML functions in javascript, why don't you use NodeJs (ie server side javascript)?The following is a great article on how to use NPM as your build tool.