version=$1
rm -rf jquery-$version jquery-$version.tar.gz jquery_${version}_node_modules.tar.gz
wget https://github.com/jquery/jquery/archive/$version/jquery-$version.tar.gz

tar xf jquery-$version.tar.gz

pushd jquery-$version
npm install --save-dev
tar cfz ../jquery_${version}_node_modules.tar.gz node_modules

npm uninstall husky
popd
