-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.87 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
57
58
59
60
61
62
63
64
{
"name": "onecolor",
"description": "Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.",
"repository": "git@github.com:One-com/one-color.git",
"version": "3.1.0",
"license": "BSD-2-Clause",
"keywords": [
"color",
"colour",
"conversion",
"rgb",
"hsv",
"hsl",
"cmyk"
],
"maintainers": [
{
"name": "Peter Müller",
"email": "munter@fumle.dk"
},
{
"name": "Andreas Lind",
"email": "andreaslindpetersen@gmail.com"
}
],
"devDependencies": {
"coveralls": "2.11.9",
"istanbul": "0.4.2",
"jshint": "^2.9.1",
"mocha": "2.4.5",
"mocha-lcov-reporter": "1.2.0",
"rollup": "0.41.6",
"rollup-plugin-commonjs": "8.0.2",
"uglify-js": "2.8.21",
"unexpected": "10.11.1"
},
"engines": {
"node": ">=0.4.8"
},
"files": [
"one-color.js",
"one-color.map",
"one-color-all.js",
"one-color-all.map",
"index.js",
"minimal.js",
"lib"
],
"scripts": {
"one-color-all": "rollup -c rollup.config.js index.js && uglifyjs --compress --mangle --in-source-map OUT.js.map --source-map one-color-all.map OUT.js > one-color-all.js; rm OUT.*",
"one-color": "rollup -c rollup.config.js minimal.js && uglifyjs --compress --mangle --in-source-map OUT.js.map --source-map one-color.map OUT.js > one-color.js; rm OUT.*",
"build": "npm run one-color && npm run one-color-all",
"preversion": "npm run lint && npm run build && TEST_BUNDLES=true npm test && bash -c 'git add one-color{-all,}.{js,map}'",
"lint": "jshint .",
"test": "npm run lint && mocha",
"coverage": "istanbul cover _mocha -- --reporter dot",
"travis": "npm run lint && npm run build && TEST_BUNDLES=true npm run coverage"
},
"jspm": {
"dependencies": {},
"main": "one-color-all.js",
"jspmPackage": true
}
}