painbrush
1.0.21.1.0
−
Removed (63 files)
+
Added (35 files)
~
Modified (1 files)
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,8 +1,8 @@
{
"name": "painbrush",
"type": "module",
- "version": "1.0.2",
+ "version": "1.1.0",
"description": "",
"homepage": "https://github.com/walaura/painbrush#readme",
"bugs": {
"url": "https://github.com/walaura/painbrush/issues"
@@ -12,9 +12,9 @@
"url": "git+https://github.com/walaura/painbrush.git"
},
"license": "ISC",
"author": "walaura",
- "main": "index.ts",
+ "main": "index.js",
"keywords": [
"bmp",
"image"
],
@@ -27,23 +27,23 @@
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"exports": {
- "./image": "./src/image.ts",
- "./pixel": "./src/pixel.ts",
- "./color": "./src/color.ts",
- "./layer": "./src/layer.ts",
- "./typography": "./src/typography.ts",
+ "./image": "./src/image.js",
+ "./pixel": "./src/pixel.js",
+ "./color": "./src/color.js",
+ "./layer": "./src/layer.js",
+ "./typography": "./src/typography.js",
"./_DEFAULT_FONT_.pxfont": "./src/typography/poxel.pxfont"
},
"bin": {
- "painbrush-font-packer": "./packer.ts"
+ "painbrush-font-packer": "./packer.js"
},
"devDependencies": {
"@types/node": "^25.6.0"
},
"scripts": {
"test": "vitest",
- "build": "tsc --outDir dist --project tsconfig-build.json && cp package.json dist/package.json",
- "publish": "cd ./dist && npm run publish"
+ "build": "tsc --outDir dist --project tsconfig-build.json && node prepare.js",
+ "publish-js": "npm run build && cd ./dist && npm publish"
}
}