-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
78 lines (78 loc) · 1.73 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
{
"name": "validate-image-type",
"version": "3.0.0",
"description": "Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.",
"keywords": [
"image",
"bufffer",
"mime-type",
"extension",
"validate",
"valicator",
"png",
"jpg",
"svg"
],
"homepage": "https://github.com/azu/validate-image-type",
"bugs": {
"url": "https://github.com/azu/validate-image-type/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/validate-image-type.git"
},
"license": "MIT",
"author": "azu",
"files": [
"bin/",
"lib/",
"src/"
],
"main": "lib/validate-image-type.js",
"types": "lib/validate-image-type.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"build": "tsc -p .",
"clean": "rimraf lib/",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"watch": "tsc -p . --watch",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"dependencies": {
"file-type": "^18.5.0",
"is-svg": "^5.0.0",
"read-chunk": "^4.0.3"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.7",
"lint-staged": "^15.0.2",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^5.2.2"
}
}