-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.07 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
{
"name": "if-is-image",
"version": "1.0.6",
"description": "Check if a string, filepath, or url references an image file",
"repository": "https://github.com/nielse63/if-is-image",
"author": {
"name": "Erik Nielsen",
"email": "[email protected]",
"url": "https://312development.com"
},
"license": "MIT",
"homepage": "https://github.com/nielse63/if-is-image",
"keywords": [
"ext",
"extensions",
"extension",
"file",
"path",
"check",
"detect",
"is",
"image",
"img",
"photo",
"pic",
"picture",
"jpg",
"jpeg",
"png",
"gif",
"webp"
],
"bugs": "https://github.com/nielse63/if-is-image/issues",
"main": "lib/if-is-image.js",
"files": [
"lib/"
],
"directories": {
"lib": "./lib"
},
"scripts": {
"lint": "eslint src/ test/ --fix",
"build": "cross-env NODE_ENV=production babel src/ -d lib/",
"test": "nyc mocha test/specs/*.spec.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"precommit": "lint-staged",
"release": "unleash -p"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.0",
"babel-plugin-istanbul": "^5.0.1",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-2": "^6.24.1",
"chai": "^4.1.1",
"chai-asserttype": "^1.0.5",
"conventional-commit-types": "^2.2.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"current-git-branch": "^1.0.1",
"eslint": "^5.4.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-xo": "^0.25.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^2.6.2",
"flow-bin": "^0.81.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.2",
"markdownlint-cli": "^0.13.0",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"prettier": "^1.14.2",
"unleash": "^2.0.1"
},
"engines": {
"node": ">= 8.x",
"npm": ">= 5.x",
"yarn": ">= 1.x"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
}
}