diff --git a/package.json b/package.json index fbddb8d..5f47a41 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "lint:md": "markdownlint '*.md'", "lint:md:fix": "npm run lint:md -- --fix", "minify": "npm run minify:css && npm run minify:js", - "minify:css": "for f in ./tmp/css/*.css; do npx minify $f > ./dist/css/$(basename $f .css).min.css; done", - "minify:js": "for f in ./src/js/*.js; do npx minify $f > ./dist/js/$(basename $f .js).min.js; done" + "minify:css": "for f in ./dist/css/*.css; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .css).min.css; done", + "minify:js": "for f in ./dist/*/js/*.js; do echo \"Minifying $f...\"; minify $f > $(dirname $f)/$(basename $f .js).min.js; done" }, "husky": { "hooks": {