# Drop tests from the compiled output.
find $OUTDIR -type f -name '*.test.*' -exec rm {} +
+cp -r examples $OUTDIR
+cp README.md $OUTDIR
+cp LICENSE.txt $OUTDIR
+
# "Preprocess" the dist package.json.
cp ./package.json $OUTDIR
sed -i '' -e s@\"dist/@\"@ $OUTDIR/package.json
+sed -i '' -e 's@"prepare": ".*",@@' $OUTDIR/package.json