diff --git a/package.json b/package.json index 88e4d8a0..f3883ec9 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,10 @@ }, "repository": "git@github.com:SchematicHQ/schematic-js.git", "scripts": { - "build:npm": "npx esbuild src/index.ts --bundle --outfile=dist/schematic.js --platform=browser && npx tsc && npx api-extractor run", - "build:browser": "npx esbuild src/browser.ts --bundle --outfile=dist/browser.js --platform=browser", + "build:npm": "npx esbuild src/index.ts --bundle --outfile=dist/schematic.js --platform=neutral && npx tsc && npx api-extractor run", + "build:browser": "npx esbuild src/browser.ts --bundle --minify --outfile=dist/browser.js --platform=browser", "clean": "rm -rf dist" }, "types": "dist/schematic.d.ts", - "version": "0.0.3" + "version": "0.0.4" }