Skip to content

Commit

Permalink
Merge pull request #79 from iambumblehead/try-different-mini
Browse files Browse the repository at this point in the history
try a different minify approach
  • Loading branch information
iambumblehead authored Jul 22, 2022
2 parents 9b79c6e + 9c5e775 commit 908907d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"readmeFilename": "README.md",
"description": "provides native ESM import mocking for unit tests",
"author": "chris <[email protected]>",
"main": "src/esmockLoader.mjs",
"module": "src/esmockLoader.mjs",
"main": "src/esmockLoader.js",
"module": "src/esmockLoader.js",
"type": "module",
"types": "src/esmock.d.ts",
"repository": {
Expand Down Expand Up @@ -54,15 +54,15 @@
"dependencies": {
"resolvewithplus": "^0.8.4"
},
"devDependencies": {
"run-script-os": "^1.1.6"
},
"scripts": {
"mini:esmock": "npx esbuild ./src/esmock.js --minify --allow-overwrite --outfile=./src/esmock.js",
"mini:esmockCache": "npx esbuild ./src/esmockCache.js --minify --allow-overwrite --outfile=./src/esmockCache.js",
"mini:esmockIsLoader": "npx esbuild ./src/esmockIsLoader.js --minify --allow-overwrite --outfile=./src/esmockIsLoader.js",
"mini:esmockLoader": "npx esbuild ./src/esmockLoader.mjs --minify --allow-overwrite --outfile=./src/esmockLoader.mjs",
"mini:esmockModule": "npx esbuild ./src/esmockModule.js --minify --allow-overwrite --outfile=./src/esmockModule.js",
"mini": "npm run mini:esmock && npm run mini:esmockCache && npm run mini:esmockIsLoader && npm run mini:esmockModule && npm run mini:esmockLoader",
"mini:default": "npx esbuild ./src/*js --minify --allow-overwrite --outdir=src",
"mini:win32": "cd src && forfiles /m \"*.js\" /c \"cmd /c npx esbuild @file --minify --allow-overwrite --outfile=@file\"",
"mini": "run-script-os",
"test-ci": "npm run mini && npm run test",
"prepublishOnly": "npm run test-ci; npm pkg delete scripts",
"prepublishOnly": "npm run test-ci; npm pkg delete scripts devDependencies",
"lint": "npx eslint . --ext .js,.mjs",
"test": "cd tests && npm install && npm test"
}
Expand Down
File renamed without changes.

0 comments on commit 908907d

Please sign in to comment.