Add timestamp for minified script

This commit is contained in:
Peng-YM 2020-10-27 20:26:21 +08:00
parent 1ae804ce6b
commit 5be7f2e1ea
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"serve": "node sub-store.js", "serve": "node sub-store.js",
"build": "curl -X POST -s --data-urlencode 'input@sub-store.js' https://javascript-minifier.com/raw > sub-store.min.js" "build": " curl -X POST -s --data-urlencode 'input@sub-store.js' https://javascript-minifier.com/raw > sub-store.min.js && printf \"// UPDATED AT: $(date) \\n\" | cat - sub-store.min.js > temp && mv temp sub-store.min.js"
}, },
"author": "", "author": "",
"license": "GPL", "license": "GPL",

File diff suppressed because one or more lines are too long