Skip to content

Commit

Permalink
fixing version published to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Nov 20, 2024
1 parent aacde9c commit cec94cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"replace-version": "replace-in-file VERSION `node -e 'process.stdout.write(require(\"./package\").version)'` ./stampit.min.js",
"ci": "node --run test && node --run lint",
"minify": "uglifyjs ./stampit.js -c collapse_vars,evaluate=false,unsafe,loops=false,keep_fargs=false,pure_getters,unused,dead_code,keep_fnames=[\"'stampit','Stamp'\"] -m reserved=['stampit','Stamp'] -o ./stampit.min.js && ls -l ./stampit.min.js && echo GZIP size: && gzip-size --raw ./stampit.min.js",
"preversion": "node --run ci"
"preversion": "node --run ci",
"postversion": "node --run replace-version"
},
"license": "MIT",
"files": [
Expand Down

0 comments on commit cec94cd

Please sign in to comment.