colorizr
Version:
Manipulate colors like a boss
97 lines (96 loc) • 2.4 kB
JSON
{
"name": "colorizr",
"version": "5.0.1",
"description": "Manipulate colors like a boss",
"author": "Gil Barbara <gilbarbara@gmail.com>",
"keywords": [
"color",
"color manipulation",
"wcag",
"a11y"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/gilbarbara/colorizr.git"
},
"bugs": {
"url": "https://github.com/gilbarbara/colorizr/issues"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"src"
],
"types": "dist/index.d.ts",
"sideEffects": false,
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@gilbarbara/eslint-config": "^1.2.1",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^1.0.0",
"@size-limit/preset-small-lib": "^12.0.1",
"@types/node": "^24.12.2",
"@vitest/coverage-v8": "^4.1.4",
"baseline-browser-mapping": "^2.10.17",
"del-cli": "^7.0.0",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"prettier": "^3.8.1",
"repo-tools": "^0.3.1",
"size-limit": "^12.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.4"
},
"scripts": {
"build": "pnpm clean && tsup",
"watch": "tsup --watch",
"clean": "del dist/*",
"docs": "pnpm --dir docs dev",
"lint": "eslint --fix src test",
"typecheck": "tsc -p test/tsconfig.json",
"typevalidation": "attw -P",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
"validate": "pnpm lint && pnpm typecheck && pnpm test:coverage && pnpm build && pnpm size && pnpm typevalidation",
"size": "size-limit",
"prepare": "husky"
},
"tsup": {
"dts": true,
"entry": [
"src/index.ts"
],
"format": [
"cjs",
"esm"
],
"sourcemap": true,
"splitting": false
},
"prettier": "@gilbarbara/prettier-config",
"size-limit": [
{
"name": "commonjs",
"path": "./dist/index.js",
"limit": "11 kB"
},
{
"name": "esm",
"path": "./dist/index.mjs",
"limit": "11 kB"
}
]
}