add build script and package.json