-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 975 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "@nkzw/palette-swap",
"version": "3.0.0",
"author": "Christoph Nakazawa <[email protected]>",
"description": "Image palette swapping and color replacement tool based on canvas for Node.js and browsers.",
"repository": {
"type": "git",
"url": "https://github.com/cpojer/palette-swap.git"
},
"license": "MIT",
"main": "lib/palette-swap.js",
"type": "module",
"keywords": [
"color",
"palette",
"canvas"
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"canvas": "^3.0.0"
},
"devDependencies": {
"@types/color-convert": "^2.0.4",
"@types/node": "^22.10.2",
"esbuild": "^0.24.2",
"typescript": "^5.7.2"
},
"scripts": {
"build": "mkdir -p lib && rm lib/*; tsc --declaration --emitDeclarationOnly --noEmit false && esbuild --target=node18 --format=esm --platform=node --outfile=lib/palette-swap.js --external:canvas --bundle ./src/palette-swap.js",
"test": "tsc"
}
}