chore: add jimp dependency, icon padding script, and update configuration

This commit is contained in:
2026-05-31 14:04:37 +02:00
parent 30f81045ac
commit 7cd17307ba
1126 changed files with 166400 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
VERSION=$(shell node --eval "console.log(require('./package.json').version)")
BUNDLE=dist/exif-parser-$(VERSION).js
MIN_BUNDLE=dist/exif-parser-$(VERSION)-min.js
BROWSERIFY=node_modules/.bin/browserify
UGLIFY=node_modules/.bin/uglifyjs
build-browser-bundle: setup
@echo "building $(BUNDLE) ..."
@mkdir -p dist/
@$(BROWSERIFY) --bare browser-global.js -o $(BUNDLE)
@echo "building $(MIN_BUNDLE) ..."
@$(UGLIFY) $(BUNDLE) -o $(MIN_BUNDLE) --compress
setup:
@npm install --no-optional --loglevel error --development
clean:
@rm -rf dist/