Compare commits

...

2 commits

Author SHA1 Message Date
jolts
3d14178546 1.0.3
Some checks are pending
CI / build-and-publish (push) Waiting to run
2025-01-25 07:44:29 +02:00
jolts
eb9fe218c3 add prebuild step and include assets in package.json build process 2025-01-25 07:44:22 +02:00

View file

@ -1,11 +1,12 @@
{ {
"name": "image-speech-bubble-transformer", "name": "image-speech-bubble-transformer",
"version": "1.0.2", "version": "1.0.3",
"description": "TypeScript library for applying speech bubble effects to images", "description": "TypeScript library for applying speech bubble effects to images",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"files": [ "files": [
"dist", "dist",
"dist/assets",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],
@ -14,7 +15,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"build": "npm run clean && tsc", "prebuild": "mkdir -p dist/assets",
"build": "npm run clean && npm run prebuild && cp src/assets/* dist/assets/ && tsc",
"publish:local": "npm run build && npm pack", "publish:local": "npm run build && npm pack",
"publish:npm": "npm run build && npm publish", "publish:npm": "npm run build && npm publish",
"version:patch": "npm version patch", "version:patch": "npm version patch",