sharp-vibrant
Version:
Extract prominent colors from an image in a node environment using sharp.
64 lines (63 loc) • 1.79 kB
JSON
{
"name": "sharp-vibrant",
"version": "0.4.0",
"description": "Extract prominent colors from an image in a node environment using sharp.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"peerDependencies": {
"sharp": "^0.29.3"
},
"devDependencies": {
"@types/sharp": "^0.29.4",
"@types/node": "^10.11.7",
"@types/chai": "^4.0.5",
"@types/lodash": "^4.14.53",
"@types/mocha": "^5.2.5",
"@types/table": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"chai": "^4.1.2",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.2",
"lodash": "^4.17.4",
"mocha": "^5.2.0",
"rimraf": "^2.6.1",
"sharp": "^0.29.3",
"table": "^5.1.0",
"ts-loader": "^5.2.1",
"ts-node": "^7.0.1",
"typescript": "^3.6.3"
},
"scripts": {
"clean": "yarn run clean:node",
"clean:node": "rimraf lib",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --cache ./src/",
"build": "yarn run build:node",
"build:node": "tsc",
"test": "yarn run test:node",
"test:node": "mocha --require ts-node/register src/test/**/*.spec.ts",
"sample:inspect": "cd fixtures/sample; yarn run start",
"sample:update": "cd fixtures/sample; yarn run update",
"prepublishOnly": "yarn run lint && yarn run clean && yarn run build"
},
"repository": {
"type": "git",
"url": "https://github.com/LiveChart/sharp-vibrant.git"
},
"keywords": [
"color",
"detection",
"varation",
"image",
"picture",
"canvas",
"vibrant",
"muted",
"colour"
],
"author": "wolfemm",
"license": "MIT"
}