-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.95 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
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
{
"name": "@imerljak/react-cropper-2",
"version": "0.2.1",
"description": "A modern React wrapper for CropperJS 2.x web components",
"author": "react-cropper-2 contributors",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/imerljak/react-cropper-2.git"
},
"keywords": [
"react",
"cropper",
"cropperjs",
"image-crop",
"image-cropper",
"web-components",
"typescript"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"dist/index.js",
"dist/index.cjs"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:storybook": "vitest --project=storybook",
"lint": "eslint . --ext .ts,.tsx --max-warnings 10",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\"",
"typecheck": "tsc --noEmit",
"example:basic": "vite --config examples/basic/vite.config.ts",
"example:deferred": "vite --config examples/deferred/vite.config.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"peerDependencies": {
"cropperjs": "^2.0.1",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@storybook/addon-a11y": "^9.1.10",
"@storybook/addon-docs": "^9.1.10",
"@storybook/addon-onboarding": "^9.1.10",
"@storybook/addon-vitest": "^9.1.10",
"@storybook/react-vite": "^9.1.10",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.1",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/browser": "3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"cropperjs": "^2.0.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.26",
"eslint-plugin-storybook": "^9.1.10",
"jsdom": "^27.0.0",
"playwright": "^1.56.0",
"prettier": "^3.3.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"storybook": "^9.1.10",
"typescript": "^5.6.3",
"vite": "^7.1.9",
"vite-plugin-dts": "^4.2.3",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=20.0.0"
}
}