≡ 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
291 B

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