-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
99 lines (99 loc) · 2.18 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
91
92
93
94
95
96
97
98
99
{
"name": "use-smartcrop",
"version": "1.0.3",
"description": "React hook for smartcrop.js to content aware image cropping with points of interest and facial recognition.",
"keywords": [
"flyyer",
"react",
"react-hook",
"image",
"cropper",
"cropping",
"crop",
"smartcrop",
"smartcrop.js",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/useflyyer/use-smartcrop.git"
},
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src"
],
"engines": {
"node": ">=12"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "eslint '*/**/*.{js,ts,tsx}'",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"author": "Patricio López Juri",
"module": "dist/use-smartcrop.esm.js",
"size-limit": [
{
"path": "dist/use-smartcrop.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/use-smartcrop.esm.js",
"limit": "10 KB"
}
],
"dependencies": {
"dequal": "^2.0.2",
"react-use": "^17.3.1",
"smartcrop": "^2.0.5"
},
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@flyyer/eslint-config": "^3.0.0",
"@size-limit/preset-small-lib": "^7.0.3",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"babel-jest": "^27.4.2",
"babel-loader": "^8.2.3",
"eslint": "^8.3.0",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^4.3",
"lint-staged": "^12.1.2",
"prettier": "^2.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"size-limit": "^7.0.3",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
},
"resolutions": {
"typescript": "^4.4.2",
"ts-jest": "^27.0.5",
"jest": "^27.1.1"
}
}