diff --git a/build.mjs b/build.mjs index ee25717..5761745 100644 --- a/build.mjs +++ b/build.mjs @@ -1,9 +1,9 @@ -import dts from "bun-plugin-dts"; +import dts from 'bun-plugin-dts'; await Bun.build({ - entrypoints: ["./src/index.ts"], - outdir: "./dist", - target: "node", + entrypoints: ['./src/index.ts'], + outdir: './dist', + target: 'node', minify: true, plugins: [dts()], }); diff --git a/bun.lockb b/bun.lockb index 0c42d60..2ed4438 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index e393327..271f2dc 100644 --- a/package.json +++ b/package.json @@ -1,42 +1,41 @@ { - "name": "layered-generative-art", - "description": "An easy-to-use library to generate random images from a set of layers", - "version": "1.0.1", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "author": "409", - "type": "module", - "license": "MIT", - "files": [ - "dist/*.js", - "dist/*.d.ts" - ], - "keywords": [ - "generative", - "random", - "art", - "image", - "images", - "generative-art" - ], - "homepage": "https://github.com/4-0-9/layered-generative-art", - "repository": { - "type": "git", - "url": "git+https://github.com/4-0-9/layered-generative-art.git" - }, - "bugs": "https://github.com/4-0-9/layered-generative-art/issues", - "scripts": { - "build": "bun run build.mjs", - "publish": "bun run build && npm publish" - }, - "dependencies": { - "sharp": "^0.33.2" - }, - "peerDependencies": { - "typescript": "^5.0.0" - }, - "devDependencies": { - "@types/bun": "latest", - "bun-plugin-dts": "^0.2.1" - } + "name": "layered-generative-art", + "description": "An easy-to-use library to generate random images from a set of layers", + "version": "1.0.4", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "author": "409", + "type": "module", + "license": "MIT", + "files": [ + "dist" + ], + "keywords": [ + "generative", + "random", + "art", + "image", + "images", + "generative-art" + ], + "homepage": "https://github.com/4-0-9/layered-generative-art", + "repository": { + "type": "git", + "url": "git+https://github.com/4-0-9/layered-generative-art.git" + }, + "bugs": "https://github.com/4-0-9/layered-generative-art/issues", + "scripts": { + "build": "bun run build.mjs", + "publish": "npm publish" + }, + "dependencies": { + "bun-plugin-dts": "^0.2.1", + "sharp": "^0.33.3" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "devDependencies": { + "@types/bun": "latest" + } }