Skip to content

Commit

Permalink
Change to uglify-js instead of uglifyjs...
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Oct 10, 2023
1 parent a196032 commit 19594df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"scripts": {
"pretest": "tsc",
"typecheck": "tsc --noEmit",
"uglify": "npx -y uglifyjs dist/servicestack-client.umd.js --compress --mangle -o dist/servicestack-client.min.js",
"uglify-mjs": "npx -y uglifyjs dist/servicestack-client.mjs --compress --mangle -o dist/servicestack-client.min.mjs",
"uglify": "npx -y uglify-js dist/servicestack-client.umd.js --compress --mangle -o dist/servicestack-client.min.js",
"uglify-mjs": "npx -y uglify-js dist/servicestack-client.mjs --compress --mangle -o dist/servicestack-client.min.mjs",
"mjs": "tsc -p tsconfig.mjs.json && shx mv dist/index.js dist/servicestack-client.mjs && npm run uglify-mjs",
"publish": "tsc && npm run mjs && tsc -p tsconfig.umd.json && shx mv dist/index.js dist/servicestack-client.umd.js && bash inject-umd.sh && npm run uglify && shx mv src/index.js dist && shx cp src/index.d.ts dist",
"dtos": "cd tests/dtos && typescript-ref",
Expand Down

0 comments on commit 19594df

Please sign in to comment.