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.4.2",
|
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.15.5",
|
40 | "@babel/preset-env": "^7.15.4",
|
41 | "eslint": "^7.32.0",
|
42 | "gulp": "^4.0.2",
|
43 | "gulp-rename": "^2.0.0",
|
44 | "gulp-replace": "^1.1.3",
|
45 | "gulp-rollup": "^2.17.0",
|
46 | "gulp-uglify": "^3.0.2",
|
47 | "husky": "^7.0.1",
|
48 | "jest": "^27.1.0",
|
49 | "rollup": "^2.56.3",
|
50 | "rollup-plugin-babel": "^4.4.0",
|
51 | "typescript": "^4.4.2"
|
52 | },
|
53 | "husky": {
|
54 | "hooks": {
|
55 | "pre-commit": "npm test"
|
56 | }
|
57 | },
|
58 | "scripts": {
|
59 | "build": "gulp",
|
60 | "prepare": "gulp",
|
61 | "eslint": "eslint .",
|
62 | "test": "npm run eslint && npm run unit-test && npm run test-typings",
|
63 | "unit-test": "jest --collectCoverage",
|
64 | "test-typings": "tsc -p tsconfig.json"
|
65 | }
|
66 | }
|