-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.23 KB
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": "use-cropped-area",
"version": "1.0.0",
"description": "use-cropped-area is a react hook for creating canvas image from the cropped area of image.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"email": "mikhail.vasilev17@gmail.com",
"author": "Mikhail Vasilev (typeof-null)",
"license": "MIT",
"keywords": [
"react",
"area",
"crop",
"hook",
"draw",
"image",
"canvas",
"drawing",
"use crop",
"use area",
"typescript",
"create image",
"part of image",
"cropped image",
"create canvas",
"drawing canvas",
"use cropped area",
"use part of image",
"area with cordinates",
"use cropped area, react",
"create image from cropped area",
"create canvas from cropped area",
"create image with specific coordinates",
"create canvas with specific coordinates",
"drawing canvas from cropped area of image"
],
"files": [
"dist",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/typeof-null/use-cropped-area.git"
},
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run prettier && npm run lint",
"test": "jest --config jestconfig.json",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\""
},
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.4.0",
"@types/react": "^18.0.27",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.4.1",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.4.1",
"prettier": "^2.8.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
}
}