diff --git a/composer.json b/composer.json index 288fe96..8625c56 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "composer copy-dotenv", "composer copy-conf", "composer mkdir", "composer symlink-data", "npm run symlink-js" ], "build": [ - "npm run build", "npm run min", "npm run hash-js", "composer version,json" + "npm run build", "npm run min", "npm run hash-js", "composer version.json" ], "mkdir": [ "mkdir ./.cache", "mkdir ./.logs", "mkdir -p _user_data/images" ], "chown": [ "chown -R nginx:nginx ./.cache", "chown -R nginx:nginx ./.logs" ], diff --git a/package.json b/package.json index bbc1a66..89d8fc1 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "min": "uglifyjs openessayist-js/*core.js openessayist-js/*init.js openessayist-js/*ajax.js --comments /^!/ -o public_html/assets/app.min.js", "#- ug": "uglifyjs pub*/as*/openes*/*/*core.js pub*/as*/openes*/*/*init.js -b --comments /^!/ -o public_html/assets/app.js", "# ug": "uglifyjs public_html/assets/openessayist/js/openessayist.core.js", - "hash-js": "cd public_html/assets; ln -s app.js app.r$(git rev-parse --short HEAD).js", + "hash-js": "cd public_html/assets; ln -fs app.js app.r$(git rev-parse --short HEAD).js", "test": "semistandard public_html/assets/openessayist/js/open*.js", "fix": "semistandard --fix" }