package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "@csstools/convert-colors",
  3. "version": "1.4.0",
  4. "description": "Convert colors between RGB, HSL, and HWB",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "repository": "jonathantneal/convert-colors",
  8. "homepage": "https://github.com/jonathantneal/convert-colors#readme",
  9. "bugs": "https://github.com/jonathantneal/convert-colors/issues",
  10. "main": "index.bundle.js",
  11. "module": "index.js",
  12. "files": [
  13. "index.js",
  14. "index.bundle.js",
  15. "lib"
  16. ],
  17. "scripts": {
  18. "prepublishOnly": "npm test",
  19. "pretest": "rollup -c .rollup.js --silent",
  20. "test": "echo 'Running tests...'; npm run test:ec && npm run test:js && npm run test:tape",
  21. "test:ec": "echint test",
  22. "test:js": "eslint *.js --cache --ignore-path .gitignore --quiet",
  23. "test:tape": "node .tape"
  24. },
  25. "engines": {
  26. "node": ">=4.0.0"
  27. },
  28. "devDependencies": {
  29. "babel-core": "^6.26.0",
  30. "babel-preset-env": "^1.6",
  31. "echint": "^4.0",
  32. "eslint": "^4.15",
  33. "eslint-config-dev": "2.0",
  34. "pre-commit": "^1.2",
  35. "rollup": "^0.54",
  36. "rollup-plugin-babel": "^3.0"
  37. },
  38. "eslintConfig": {
  39. "extends": "dev",
  40. "rules": {
  41. "max-params": [
  42. 2,
  43. 4
  44. ]
  45. }
  46. },
  47. "keywords": [
  48. "colors",
  49. "converts",
  50. "conversions",
  51. "converting",
  52. "css",
  53. "rgb",
  54. "hsl",
  55. "hwb",
  56. "lab",
  57. "lch",
  58. "hsv",
  59. "xyz",
  60. "red",
  61. "green",
  62. "blue",
  63. "hue",
  64. "saturation",
  65. "lightness",
  66. "whiteness",
  67. "blackness",
  68. "cie"
  69. ]
  70. }