package.json
{
"name": "colorizr",
"version": "2.1.1",
"description": "Manipulate colors like a boss",
"author": "Gil Barbara <gilbarbara@gmail.com>",
"keywords": [
"color",
"color manipulation",
"wcga",
"a11y"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/gilbarbara/colorizr.git"
},
"bugs": {
"url": "https://github.com/gilbarbara/colorizr/issues"
},
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"lib",
"esm",
"src"
],
"types": "lib/index.d.ts",
"sideEffects": false,
"devDependencies": {
"@gilbarbara/eslint-config": "^0.2.6",
"@gilbarbara/prettier-config": "^0.1.0",
"@gilbarbara/tsconfig": "^0.1.1",
"@size-limit/preset-small-lib": "^8.0.0",
"@types/jest": "^28.1.6",
"husky": "^8.0.1",
"is-ci-cli": "^2.2.0",
"jest": "^28.1.3",
"jest-watch-typeahead": "^2.0.0",
"repo-tools": "^0.2.2",
"rimraf": "^3.0.2",
"size-limit": "^8.0.0",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"watch-run": "^1.2.5"
},
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc",
"build:esm": "tsc -m es6 --outDir esm",
"watch:cjs": "npm run build:cjs -- -w",
"watch:esm": "npm run build:esm -- -w",
"clean": "rimraf lib && rimraf esm",
"lint": "eslint --ext .ts,.tsx src test",
"typecheck": "tsc --noEmit -p test/tsconfig.json",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:coverage": "jest --coverage --bail",
"test:watch": "jest --watchAll --verbose",
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run size",
"size": "size-limit",
"prepublishOnly": "npm run validate",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"@gilbarbara/eslint-config"
],
"rules": {
"sort-destructure-keys/sort-destructure-keys": "off"
}
},
"prettier": "@gilbarbara/prettier-config",
"size-limit": [
{
"name": "lib",
"path": "./lib/index.js",
"limit": "8 kB"
},
{
"name": "esm",
"path": "./esm/index.js",
"limit": "6 kB"
}
]
}