UNPKG

colorizr

Version:
101 lines (100 loc) 2.47 kB
{ "name": "colorizr", "version": "5.1.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.3", "@gilbarbara/eslint-config": "^1.2.3", "@gilbarbara/prettier-config": "^1.0.0", "@gilbarbara/tsconfig": "^1.0.0", "@size-limit/preset-small-lib": "^12.1.0", "@types/node": "^24.13.2", "@vitest/coverage-v8": "^4.1.9", "baseline-browser-mapping": "^2.10.37", "del-cli": "^7.0.0", "eslint": "^9.39.4", "husky": "^9.1.7", "prettier": "^3.8.4", "repo-tools": "^0.3.1", "size-limit": "^12.1.0", "ts-node": "^10.9.2", "tsup": "^8.5.1", "typescript": "^6.0.3", "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.1.9" }, "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": { "compilerOptions": { "ignoreDeprecations": "6.0" } }, "entry": [ "src/index.ts" ], "format": [ "cjs", "esm" ], "sourcemap": true, "splitting": false }, "prettier": "@gilbarbara/prettier-config", "size-limit": [ { "name": "commonjs", "path": "./dist/index.js", "limit": "12 kB" }, { "name": "esm", "path": "./dist/index.mjs", "limit": "12 kB" } ] }