Files
pastel-wasm/package.json
Sebastian Krüger de18e007a6
Some checks failed
CI / test (push) Failing after 10m13s
Build and Publish to npm / build-and-publish (push) Has been cancelled
feat: initial release of pastel-wasm v0.1.0
🎨 WebAssembly color manipulation library

Features:
-  Color parsing (hex, rgb, hsl, named colors)
- 🎨 Color manipulation (lighten, darken, saturate, desaturate)
- 🌈 Color generation (random, gradients, palettes)
-  Accessibility (colorblind simulation, contrast, WCAG)
- 📏 Color distance (CIE76, CIEDE2000)
- 🎯 Color spaces (RGB, HSL, HSV, Lab, LCH)
- 🏷️  148 CSS/X11 named colors

Bundle size: 132KB
Performance: ~0.1ms per operation

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 07:28:46 +01:00

45 lines
1.2 KiB
JSON

{
"name": "@valknarthing/pastel-wasm",
"version": "0.1.0",
"description": "WebAssembly bindings for the pastel color library - all color operations in the browser",
"main": "pkg/pastel_wasm.js",
"types": "pkg/pastel_wasm.d.ts",
"files": [
"pkg"
],
"scripts": {
"build": "wasm-pack build --target bundler --out-dir pkg",
"build:node": "wasm-pack build --target nodejs --out-dir pkg-node",
"build:web": "wasm-pack build --target web --out-dir pkg-web",
"build:all": "npm run build && npm run build:node && npm run build:web",
"test": "wasm-pack test --headless --firefox --chrome",
"pack": "wasm-pack pack",
"publish": "wasm-pack publish"
},
"repository": {
"type": "git",
"url": "ssh://git@dev.pivoine.art:2222/valknar/pastel-wasm.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"keywords": [
"color",
"wasm",
"webassembly",
"pastel",
"browser",
"color-manipulation",
"color-conversion",
"color-generation",
"color-palette"
],
"author": "Valknar <valknar@pivoine.art>",
"license": "MIT OR Apache-2.0",
"devDependencies": {
"wasm-pack": "^0.12.0"
}
}