-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 1.93 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
{
"name": "@coderosh/image-size",
"version": "2.0.1",
"description": "Get height and width of image in node and browser",
"main": "dist/index.js",
"browser": "dist/browser.js",
"type": "module",
"license": "MIT",
"files": [
"dist"
],
"scripts": {
"watch": "tsc -w",
"build": "tsc",
"lint": "eslint src/**.ts",
"test": "jest",
"clean": "rimraf dist",
"cb": "yarn clean && yarn build",
"prepublishOnly": "yarn lint && yarn test && yarn cb"
},
"engines": {
"node": ">=12"
},
"devDependencies": {
"@types/centra": "^2.2.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.4",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"axios": "^0.24.0",
"canvas": "^2.8.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"jest": "^27.0.4",
"jsdom": "^18.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.4",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged && yarn cb && yarn test && git add ."
},
"lint-staged": {
"*.ts": [
"eslint --fix"
]
},
"author": "Roshan Acharya <acharyaroshan2357@gmail.com>",
"homepage": "https://github.com/coderosh/image-size#readme",
"bugs": {
"url": "https://github.com/coderosh/image-size/issues"
},
"keywords": [
"image-size",
"img size",
"dimensions",
"height",
"width",
"size",
"image",
"cross image size"
],
"repository": {
"type": "git",
"url": "git+https://github.com/coderosh/image-size.git"
},
"dependencies": {
"buffer-image-size": "^0.6.4",
"centra": "^2.5.0"
}
}