fixed breaking bug
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import dts from "bun-plugin-dts";
|
import dts from 'bun-plugin-dts';
|
||||||
|
|
||||||
await Bun.build({
|
await Bun.build({
|
||||||
entrypoints: ["./src/index.ts"],
|
entrypoints: ['./src/index.ts'],
|
||||||
outdir: "./dist",
|
outdir: './dist',
|
||||||
target: "node",
|
target: 'node',
|
||||||
minify: true,
|
minify: true,
|
||||||
plugins: [dts()],
|
plugins: [dts()],
|
||||||
});
|
});
|
||||||
|
|||||||
79
package.json
79
package.json
@@ -1,42 +1,41 @@
|
|||||||
{
|
{
|
||||||
"name": "layered-generative-art",
|
"name": "layered-generative-art",
|
||||||
"description": "An easy-to-use library to generate random images from a set of layers",
|
"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",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"author": "409",
|
"author": "409",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/*.js",
|
"dist"
|
||||||
"dist/*.d.ts"
|
],
|
||||||
],
|
"keywords": [
|
||||||
"keywords": [
|
"generative",
|
||||||
"generative",
|
"random",
|
||||||
"random",
|
"art",
|
||||||
"art",
|
"image",
|
||||||
"image",
|
"images",
|
||||||
"images",
|
"generative-art"
|
||||||
"generative-art"
|
],
|
||||||
],
|
"homepage": "https://github.com/4-0-9/layered-generative-art",
|
||||||
"homepage": "https://github.com/4-0-9/layered-generative-art",
|
"repository": {
|
||||||
"repository": {
|
"type": "git",
|
||||||
"type": "git",
|
"url": "git+https://github.com/4-0-9/layered-generative-art.git"
|
||||||
"url": "git+https://github.com/4-0-9/layered-generative-art.git"
|
},
|
||||||
},
|
"bugs": "https://github.com/4-0-9/layered-generative-art/issues",
|
||||||
"bugs": "https://github.com/4-0-9/layered-generative-art/issues",
|
"scripts": {
|
||||||
"scripts": {
|
"build": "bun run build.mjs",
|
||||||
"build": "bun run build.mjs",
|
"publish": "npm publish"
|
||||||
"publish": "bun run build && npm publish"
|
},
|
||||||
},
|
"dependencies": {
|
||||||
"dependencies": {
|
"bun-plugin-dts": "^0.2.1",
|
||||||
"sharp": "^0.33.2"
|
"sharp": "^0.33.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest"
|
||||||
"bun-plugin-dts": "^0.2.1"
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user