fixed breaking bug

This commit is contained in:
2024-03-25 02:24:39 +01:00
parent db991473b8
commit 7e4cb17c72
3 changed files with 43 additions and 44 deletions

View File

@@ -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()],
});

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,15 +1,14 @@
{
"name": "layered-generative-art",
"description": "An easy-to-use library to generate random images from a set of layers",
"version": "1.0.1",
"version": "1.0.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "409",
"type": "module",
"license": "MIT",
"files": [
"dist/*.js",
"dist/*.d.ts"
"dist"
],
"keywords": [
"generative",
@@ -27,16 +26,16 @@
"bugs": "https://github.com/4-0-9/layered-generative-art/issues",
"scripts": {
"build": "bun run build.mjs",
"publish": "bun run build && npm publish"
"publish": "npm publish"
},
"dependencies": {
"sharp": "^0.33.2"
"bun-plugin-dts": "^0.2.1",
"sharp": "^0.33.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"devDependencies": {
"@types/bun": "latest",
"bun-plugin-dts": "^0.2.1"
"@types/bun": "latest"
}
}