Skip to content

Commit

Permalink
Merge pull request #38 from rii-mango/FIX-revert-bundling-changes
Browse files Browse the repository at this point in the history
Fix: revert bundling changes
  • Loading branch information
hanayik authored Nov 16, 2023
2 parents e65e736 + 54ce95c commit 0e406b0
Show file tree
Hide file tree
Showing 4 changed files with 3,461 additions and 3,482 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"name": "nifti-reader-js",
"version": "0.6.7",
"version": "0.6.8",
"description": "A JavaScript NIfTI file format reader.",
"main": "dist/src/nifti.js",
"browser": "release/current/nifti-reader.js",
"unpkg": "release/current/nifti-reader.js",
"types": "dist/src/nifti.d.ts",
"directories": {
"test": "tests"
Expand Down Expand Up @@ -37,8 +35,8 @@
"scripts": {
"test": "mocha -r ts-node/register __tests__/**/*.spec.ts",
"test-js": "npm run build; npm run release; mocha --timeout 0 tests",
"build": "rm -rf build; mkdir build; tsc; esbuild dist/src/nifti.js --bundle --outfile=build/nifti-reader.js --platform=neutral; esbuild dist/src/nifti.js --bundle --minify --outfile=build/nifti-reader-min.js --platform=neutral",
"release": "rm release/current/*.js; cp build/*.js release/current/.",
"build": "rm -rf build; mkdir build; tsc; esbuild dist/src/nifti.js --bundle --outfile=build/nifti-reader.js; esbuild dist/src/nifti.js --bundle --minify --outfile=build/nifti-reader-min.js",
"release": "npm run build; rm release/current/*.js; cp build/*.js release/current/.",
"doc": "rm -rf build; mkdir build; ./node_modules/.bin/jsdoc2md dist/src/*.js > build/docs.md"
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions release/current/nifti-reader-min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0e406b0

Please sign in to comment.