≡ isEq.js -- deep compare objects and arrays in JavaScript
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
304 B

#!/bin/bash
echo "Babelifying..."
npx babel ./isEq.js --presets=env -o ./umd/isEq.temp.js
echo "Browserifying..."
npx browserify ./umd/isEq.temp.js -s isEq > ./umd/isEq.js
echo "Minifying output..."
npx uglifyjs ./umd/isEq.js > ./umd/isEq.min.js
echo "Cleaning up..."
rm ./umd/isEq.temp.js
echo "Done!"