UNPKG

1.65 kBJSONView Raw
1{
2 "name": "fast-average-color",
3 "description": "A simple library that calculates the average color of images, videos and canvas in browser environment.",
4 "version": "6.0.0",
5 "author": {
6 "name": "Denis Seleznev",
7 "email": "hcodes@yandex.ru",
8 "url": "https://github.com/fast-average-color/fast-average-color"
9 },
10 "main": "dist/index.common.js",
11 "module": "dist/index.esm.js",
12 "unpkg": "dist/index.js",
13 "jsdelivr": "dist/index.js",
14 "homepage": "https://github.com/fast-average-color/fast-average-color",
15 "license": "MIT",
16 "repository": {
17 "type": "git",
18 "url": "git://github.com/fast-average-color/fast-average-color.git"
19 },
20 "keywords": [
21 "fast",
22 "average",
23 "color",
24 "colour"
25 ],
26 "engines": {
27 "node": ">= 4"
28 },
29 "typings": "./typings/index.d.ts",
30 "files": [
31 "src",
32 "dist/*.js",
33 "dist/README.md",
34 "typings/*.d.ts",
35 "README.md",
36 "LICENSE"
37 ],
38 "devDependencies": {
39 "@babel/core": "^7.7.7",
40 "@babel/preset-env": "^7.7.7",
41 "chai": "^4.2.0",
42 "eslint": "^6.8.0",
43 "gulp": "^4.0.2",
44 "gulp-rename": "^2.0.0",
45 "gulp-replace": "^1.0.0",
46 "gulp-rollup": "^2.16.2",
47 "gulp-uglify": "^3.0.2",
48 "mocha": "^6.2.2",
49 "nyc": "^15.0.0",
50 "rollup": "^1.27.14",
51 "rollup-plugin-babel": "^4.3.3",
52 "typescript": "^3.7.4"
53 },
54 "scripts": {
55 "build": "gulp",
56 "prepare": "gulp",
57 "eslint": "eslint .",
58 "test": "npm run build && npm run eslint && npm run unit-test-coverage && npm run test-typings",
59 "unit-test": "mocha",
60 "unit-test-coverage": "nyc mocha",
61 "test-typings": "tsc -p tsconfig.json"
62 }
63}