thebespokepixel/sgr-composer

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "sgr-composer",
  "version": "3.0.1",
  "description": "Compose SGR codes from RGB values",
  "main": "index.js",
  "types": "index.d.ts",
  "type": "module",
  "files": [
    "index.js",
    "index.d.ts"
  ],
  "scripts": {
    "build": "rollup -c && npm run readme",
    "test": "xo && c8 --reporter=text ava",
    "doc-serve": "documentation serve --watch --theme node_modules/documentation-theme-bespoke --github --config src/docs/documentation.yml --project-name $npm_package_name  --project-version $npm_package_version src/index.js",
    "doc-build": "documentation build --format html --output docs --theme node_modules/documentation-theme-bespoke --github --config src/docs/documentation.yml --project-name $npm_package_name  --project-version $npm_package_version src/index.js",
    "readme": "compile-readme -u src/docs/example.md src/docs/readme.md > readme.md",
    "coverage": "c8 --reporter=lcov ava; open coverage/lcov-report/index.html",
    "prepublishOnly": "npx -p typescript tsc index.js --declaration --allowJs --emitDeclarationOnly"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/thebespokepixel/sgr-composer.git"
  },
  "keywords": [
    "CLI",
    "TTY",
    "SGR",
    "color",
    "colour",
    "24bit",
    "truecolor",
    "xterm",
    "iterm"
  ],
  "author": "Mark Griffiths <mark@thebespokepixel.com> (http://thebespokepixel.com/)",
  "copyright": {
    "year": "2021",
    "owner": "The Bespoke Pixel"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/thebespokepixel/sgr-composer/issues"
  },
  "homepage": "https://github.com/thebespokepixel/sgr-composer#readme",
  "dependencies": {
    "color-convert": "^2.0.1"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^21.0.1",
    "@rollup/plugin-node-resolve": "^13.0.6",
    "@types/estree": "^0.0.50",
    "ava": "^4.0.0-rc.1",
    "c8": "^7.10.0",
    "documentation-theme-bespoke": "^2.0.14",
    "rollup": "^2.59.0",
    "rollup-plugin-cleanup": "^3.2.1",
    "xo": "^0.46.4"
  },
  "engines": {
    "node": ">=14.0"
  },
  "xo": {
    "semicolon": false,
    "ignores": [
      "index.js",
      "index.d.ts",
      "docs/**",
      "coverage/**"
    ]
  },
  "badges": {
    "github": "thebespokepixel",
    "npm": "thebespokepixel",
    "libraries-io": "TheBespokePixel",
    "name": "sgr-composer",
    "codeclimate": "7a4d648e47d78e90f3a4",
    "providers": {
      "aux1": {
        "title": "github",
        "text": "source",
        "color": "4E73B6",
        "link": "https://github.com/thebespokepixel/sgr-composer"
      }
    },
    "readme": {
      "Publishing Status": [
        [
          "npm",
          "libraries-io-npm"
        ],
        [
          "travis-com",
          "rollup"
        ]
      ],
      "Development Status": [
        [
          "travis-com-dev",
          "libraries-io-github"
        ],
        [
          "snyk",
          "code-climate",
          "code-climate-coverage"
        ]
      ],
      "Documentation/Help": [
        "inch",
        "twitter"
      ]
    },
    "docs": [
      [
        "aux1",
        "travis"
      ],
      [
        "code-climate",
        "code-climate-coverage"
      ],
      [
        "snyk",
        "libraries-io-npm"
      ]
    ]
  }
}