-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.32 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "colorinterpreter",
"version": "1.0.5",
"description": "ColorInterpreter is a module able to convert any acceptable browser color-scheme to any other acceptable browser color-scheme.",
"homepage": "https://github.com/mortzdk/colorinterpreter",
"repository": {
"type": "git",
"url": "git://github.com/mortz.dk/colorinterpreter.git"
},
"bugs": {
"url": "https://github.com/mortzdk/colorinterpreter/issues",
"email": "morten@mortz.dk"
},
"keywords": [
"color",
"rgb",
"rgba",
"hsl",
"hsla",
"hex",
"keyword",
"interpreter"
],
"author": {
"name": "https://mortz.dk",
"email": "morten@mortz.dk"
},
"directories": {
"doc": "docs"
},
"license": "SEE LICENSE IN MIT-LICENSE",
"main": "index.js",
"devDependencies": {
"browserify": "^14.3.0",
"coveralls": "^3.1.1",
"eslint": "^8.6.0",
"faucet": "0.0.1",
"jsdoc": "^3.4.3",
"jsdoc-to-markdown": "^7.1.0",
"minami": "1.1.1",
"nyc": "^15.1.0",
"tape": "^4.6.3",
"uglify-js": "^2.8.22"
},
"scripts": {
"test": "eslint index.js test/test.js && node test/test.js | faucet",
"cov": "nyc --reporter=lcov npm run test && cat coverage/lcov.info | coveralls",
"cover": "npm run cov",
"coverage": "npm run cov",
"markdown": "jsdoc2md -l js --configure .jsdoc.json index.js > docs/README.md",
"doc": "jsdoc --pedantic --configure .jsdoc.json --verbose index.js",
"documentation": "npm run doc",
"dist": "npm run build",
"build": "npm run clean && npm run test && npm run cov && npm run doc && npm run markdown && mkdir -p dist && browserify index.js -s ColorInterpreter -o dist/colorinterpreter.js && uglifyjs -c -m -o dist/colorinterpreter.min.js --source-map dist/colorinterpreter.min.js.map -v -- dist/colorinterpreter.js",
"clean": "rm -rf coverage && rm -rf dist"
},
"eslintConfig": {
"extends": [
"eslint:recommended"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"no-console": "off"
},
"env": {
"browser": true,
"node": true
}
},
"nyc": {
"exclude": [
"test/test.js"
]
}
}