-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
35 lines (35 loc) · 1.1 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
{
"name": "is-dark-color",
"version": "1.2.0",
"description": "Detects if a hex color is dark or light. It is based on the w3 documentation for color luminance: https://www.w3.org/TR/WCAG20/#relativeluminancedef",
"main": "dist/index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --reporter spec --require babel-register",
"build": "npm run test && babel src --presets babel-preset-es2015 --plugins add-module-exports --out-dir dist",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gion/is-dark-color.git"
},
"keywords": [
"color",
"luminance",
"dark",
"light"
],
"author": "Gion <[email protected]> (https://github.com/gion)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gion/is-dark-color/issues"
},
"homepage": "https://github.com/gion/is-dark-color#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"mocha": "^5.2.0"
}
}