Fix: make sure that building of package fails when assets are not compiled
The foris package can be built even on systems without npm. Such package doesn't contain any compiled js and is quite useless.
The better way would be fail right away during the compilation phase.