added repo and engine to package.json

also fixed an obvious bug in ::prepare