-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.74 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "image-pal",
"version": "1.2.2",
"description": "Retrieve human perceivable palette of colors from images leveraging color quantization",
"main": "lib/hsluv.js",
"directories": {
"lib": "lib",
"src": "src"
},
"scripts": {
"build": "babel src --out-dir lib",
"check-cov": "istanbul check-coverage --statements 100 --functions 100 --branches 100 --lines 100 || node scripts/launch-coverage-in-browser",
"dist": "webpack --config ./webpack/config-prod.js && webpack --config ./webpack/config-dev.js",
"prepublish": "npm run test && npm run build && npm run dist",
"report": "istanbul report cobertura && istanbul report lcov",
"test": "npm run test-and-check && npm outdated",
"test-and-check": "npm run unit && npm run report && npm run check-cov",
"unit": "istanbul cover --dir coverage ./node_modules/mocha/bin/_mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asilvas/image-pal.git"
},
"keywords": [
"image-colors",
"image-palette",
"color-palette",
"hsluv"
],
"author": "Aaron Silvas",
"license": "MIT",
"bugs": {
"url": "https://github.com/asilvas/image-pal/issues"
},
"homepage": "https://github.com/asilvas/image-pal#readme",
"dependencies": {
"hsluv": "0.0.3"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"istanbul": "^0.4.5",
"mocha": "^6.2.0",
"mocha-istanbul": "^0.3.0",
"open": "^6.4.0",
"should": "^13.2.3",
"sinon": "^7.4.2",
"sinon-chai": "^3.3.0",
"webpack": "^5.92.0",
"webpack-cli": "^5.1.4"
}
}