adds build script, updates package.json dependencies