Don't think so I can either write it like that
'component-build -o dist -n localforage.cmp' but then you would need to install component globally (npm install -g component)
or use some boilerplate code and make it work with path.resolve

The script produced is only useful for the test so if you can't run you just end up with a failing test...