Skip to content

Commit

Permalink
minor changes to dependancies + build script
Browse files Browse the repository at this point in the history
waiting on a fix in lossless.js, reverting to 2.0.7
using esbuild by default instead of browserify/uglify (npm run build-old will still use the previous build settings)
adding git+ to repository URL per npm run fix suggestion
  • Loading branch information
rii-mango committed Jan 29, 2024
1 parent 8081b9c commit 8709a4a
Show file tree
Hide file tree
Showing 3 changed files with 92,095 additions and 22,532 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@wearemothership/dicom-character-set": "^1.0.4-opt.1",
"jpeg-lossless-decoder-js": "^2.0.7",
"jpeg-lossless-decoder-js": "2.0.7",
"pako": "^2.1",
"fflate": "*",
"xss": "1.0.14"
Expand All @@ -24,14 +24,14 @@
},
"scripts": {
"test": "NODE_ICU_DATA=./node_modules/icu4c-data/ && mocha --timeout 0 tests",
"esbuild": "rm -rf build; mkdir build; esbuild src/main.js --bundle --global-name=daikon --platform=node --outfile=build/daikon.js; esbuild src/main.js --bundle --global-name=daikon --platform=node --minify --outfile=build/daikon-min.js",
"build": "rm -rf build; mkdir build; browserify --standalone daikon src/main.js -o build/daikon.js; uglifyjs build/daikon.js -o build/daikon-min.js",
"build": "rm -rf build; mkdir build; esbuild src/main.js --bundle --global-name=daikon --platform=node --outfile=build/daikon.js; esbuild src/main.js --bundle --global-name=daikon --platform=node --minify --outfile=build/daikon-min.js",
"build-old": "rm -rf build; mkdir build; browserify --standalone daikon src/main.js -o build/daikon.js; uglifyjs build/daikon.js -o build/daikon-min.js",
"release": "rm release/current/*.js; cp build/*.js release/current/.",
"doc": "rm -rf build; mkdir build; ./node_modules/.bin/jsdoc2md src/*.js > build/docs.md"
},
"repository": {
"type": "git",
"url": "https://github.com/rii-mango/Daikon.git"
"url": "git+https://github.com/rii-mango/Daikon.git"
},
"keywords": [
"JavaScript",
Expand Down
70 changes: 69 additions & 1 deletion release/current/daikon-min.js

Large diffs are not rendered by default.

114,549 changes: 92,022 additions & 22,527 deletions release/current/daikon.js

Large diffs are not rendered by default.

0 comments on commit 8709a4a

Please sign in to comment.