adds postinstall script and yaspm as external to webpack