UNPKG

fast-average-color

Version:

A simple library that calculates the average color of images, videos and canvas in browser environment.

61 lines (60 loc) 1.57 kB
{ "name": "fast-average-color", "description": "A simple library that calculates the average color of images, videos and canvas in browser environment.", "version": "5.0.0", "author": { "name": "Denis Seleznev", "email": "hcodes@yandex.ru", "url": "https://github.com/fast-average-color/fast-average-color" }, "main": "dist/index.js", "homepage": "https://github.com/fast-average-color/fast-average-color", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/fast-average-color/fast-average-color.git" }, "keywords": [ "fast", "average", "color", "colour" ], "engines": { "node": ">= 4" }, "typings": "./typings/index.d.ts", "files": [ "dist/index.js", "dist/index.min.js", "dist/index.es6.js", "typings/index.d.ts", "README.md", "LICENSE" ], "devDependencies": { "@babel/core": "^7.4.4", "@babel/preset-env": "^7.4.4", "chai": "^4.2.0", "del": "^4.0.1", "eslint": "^5.16.0", "gulp": "^4.0.1", "gulp-rename": "^1.3.0", "gulp-replace": "^1.0.0", "gulp-rollup": "^2.15.0", "gulp-uglify": "^3.0.2", "mocha": "^6.1.2", "nyc": "^14.0.0", "rollup-plugin-babel": "^4.3.2", "typescript": "^3.4.5" }, "scripts": { "build": "gulp", "prepare": "gulp", "eslint": "eslint .", "test": "npm run build && npm run eslint && npm run unit-test-coverage && npm run test-typings", "unit-test": "mocha", "unit-test-coverage": "nyc mocha", "test-typings": "tsc -p tsconfig.json" } }