-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
112 lines (111 loc) · 3.06 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
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"version": "1.1.2",
"description": "A React component that renders an image input and uploads to an S3 bucket. Optionally can perform resizing and compressing of the image.",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "jest",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"repository": {
"type": "git",
"url": "https://github.com/DriveSoft/react-image-upload-s3.git"
},
"homepage": "https://github.com/DriveSoft/react-image-upload-s3",
"keywords": [
"react",
"upload",
"s3",
"aws",
"amazon",
"image",
"photo",
"resize",
"resizer",
"compress",
"rotate",
"scaling",
"scale",
"image-resizer",
"react-component"
],
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "react-image-upload-s3",
"author": "DriveSoft",
"module": "dist/react-image-upload-s3.esm.js",
"size-limit": [
{
"path": "dist/react-image-upload-s3.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-image-upload-s3.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@rollup/plugin-image": "^3.0.1",
"@size-limit/preset-small-lib": "^8.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"babel-jest": "^29.3.1",
"husky": "^8.0.2",
"jest": "^25.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup-plugin-postcss": "^4.0.2",
"size-limit": "^8.1.0",
"tsdx": "^0.14.1",
"tslib": "^2.4.1",
"typescript": "^3.9.10"
},
"dependencies": {
"react-image-file-resizer": "^0.4.8"
},
"jest": {
"preset": "ts-jest",
"transform": {
"node_modules/variables/.+\\.(j|t)sx?$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!variables/.*)"
],
"moduleNameMapper": {
"test.jpg": "<rootDir>/src/test.jpg",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}