-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
68 lines (68 loc) · 1.42 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
{
"name": "react-image-pan-zoom-rotate",
"version": "1.6.0",
"description": "React library to give control on image to move zoom and rotate",
"author": "mgorabbani",
"license": "MIT",
"repository": "mgorabbani/react-image-pan-zoom-rotate",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"keywords": [
"html pan",
"html zoom",
"react pan zoom",
"react pan zoom rotate"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/mylib.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/mylib.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.8",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"husky": "^8.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
}
}