colortranslator
Version:
A JavaScript library, written in TypeScript, to convert among different color models
107 lines (106 loc) • 2.92 kB
JSON
{
"name": "colortranslator",
"version": "6.1.1",
"description": "A JavaScript library, written in TypeScript, to convert among different color models",
"main": "index.js",
"module": "esm/index.js",
"types": "index.d.ts",
"exports": {
".": {
"require": {
"types": "./index.d.ts",
"default": "./index.js"
},
"import": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
}
}
},
"files": [
"esm/**/*",
"web/**/*",
"index.d.ts",
"index.js"
],
"scripts": {
"test:ts": "tsc --noEmit",
"test": "jest --verbose",
"test:tag": "jest -t @testing",
"lint": "eslint \"src/**/*.{js,ts}\" \"tests/**/*.ts\"",
"clean": "./scripts/clean.sh",
"finish": "./scripts/finish.sh",
"build": "pnpm clean && rollup --config rollup.config.js --bundleConfigAsCjs && pnpm finish",
"demo": "webpack serve --open --config webpack.demo.config.js",
"docs": "webpack --config webpack.demo.publish.js --mode production && pnpm build",
"compile:regexps": "pnpm plop",
"prepare": "pnpm build",
"prepublishOnly": "pnpm lint && pnpm test",
"version": "git add .",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elchininet/ColorTranslator.git"
},
"keywords": [
"color",
"color-converter",
"color-translator",
"color-manipulation",
"css-color",
"css-color-convert",
"rgb",
"rgba",
"hex",
"hexadecimal",
"hsl",
"hsla",
"cmyk",
"typescript"
],
"author": "ElChiniNet",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/elchininet/ColorTranslator/issues"
},
"homepage": "https://github.com/elchininet/ColorTranslator#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^25.5.0",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.4",
"eslint": "^10.1.0",
"globals": "^17.4.0",
"google-code-prettify": "^1.0.5",
"html-webpack-plugin": "^5.6.6",
"jest": "^30.3.0",
"mini-css-extract-plugin": "^2.10.2",
"plop": "^4.0.5",
"rimraf": "^6.1.3",
"rollup": "^4.60.0",
"rollup-plugin-dts": "^6.4.1",
"rollup-plugin-tsconfig-paths": "^1.5.2",
"sass": "^1.98.0",
"sass-loader": "^16.0.7",
"style-loader": "^4.0.0",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"typescript": "^6.0.2",
"typescript-eslint": "^8.57.2",
"webpack": "^5.105.4",
"webpack-cli": "^7.0.2",
"webpack-dev-server": "^5.2.3",
"whatwg-fetch": "^3.6.20"
},
"pnpm": {
"overrides": {
"lodash@>=4.0.0 <=4.17.22": ">=4.17.23",
"@isaacs/brace-expansion@<=5.0.0": ">=5.0.1"
}
}
}