Skip to content

Commit

Permalink
Fix package json for legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinscott committed Oct 19, 2023
1 parent c3dc46a commit 25e79ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions models/esrgan-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"import": "./dist/esm/models/esrgan-legacy/src/div2k/x4/index.js"
},
"./psnr-small": {
"umd": "./dist/umd/models/esrgan-legacy/src/div2k/psnr-small/index.min.js",
"umd": "./dist/umd/models/esrgan-legacy/src/psnr-small/index.min.js",
"require": "./dist/cjs/models/esrgan-legacy/src/psnr-small/cjs.js",
"import": "./dist/esm/models/esrgan-legacy/src/psnr-small/index.js"
},
"./gans": {
"umd": "./dist/umd/models/esrgan-legacy/src/div2k/gans/index.min.js",
"umd": "./dist/umd/models/esrgan-legacy/src/gans/index.min.js",
"require": "./dist/cjs/models/esrgan-legacy/src/gans/cjs.js",
"import": "./dist/esm/models/esrgan-legacy/src/gans/index.js"
}
Expand Down Expand Up @@ -255,16 +255,16 @@
"command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/psnr-small/index.js --file ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --name ESRGANLegacyPSNRSmall --format umd"
},
"build:umd:uglify:psnr-small": {
"command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/psnr-small/index.min.js --compress --mangle --source-map"
"command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/psnr-small/index.js --output ./dist/umd/models/esrgan-legacy/src/psnr-small/index.min.js --compress --mangle --source-map"
},
"build:umd:gans": {
"command": "pnpm build:umd:rollup:gans && pnpm build:umd:uglify:gans"
},
"build:umd:rollup:gans": {
"command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/div2k/gans/index.js --file ./dist/umd/models/esrgan-legacy/src/div2k/gans/index.js --name ESRGANLegacyGANS --format umd"
"command": "rollup -c ../rollup.config.cjs --input ./dist/umd-tmp/models/esrgan-legacy/src/gans/index.js --file ./dist/umd/models/esrgan-legacy/src/gans/index.js --name ESRGANLegacyGANS --format umd"
},
"build:umd:uglify:gans": {
"command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/div2k/gans/index.js --output ./dist/umd/models/esrgan-legacy/src/div2k/gans/index.min.js --compress --mangle --source-map"
"command": "uglifyjs ./dist/umd/models/esrgan-legacy/src/gans/index.js --output ./dist/umd/models/esrgan-legacy/src/gans/index.min.js --compress --mangle --source-map"
}
}
}

0 comments on commit 25e79ae

Please sign in to comment.