-
-
Notifications
You must be signed in to change notification settings - Fork 167
/
package.json
110 lines (110 loc) · 3.31 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
{
"name": "react-easy-crop",
"version": "5.2.0",
"description": "A React component to crop images/videos with easy interactions",
"homepage": "https://ValentinH.github.io/react-easy-crop/",
"keywords": [
"react",
"crop",
"cropper",
"image crop"
],
"repository": {
"type": "git",
"url": "https://github.com/ValentinH/react-easy-crop"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Valentin Hervieu <[email protected]>",
"license": "MIT",
"sideEffects": false,
"scripts": {
"start": "vite ./examples --port 3001 --clearScreen false",
"auto": "auto",
"postversion": "yarn build",
"build": "yarn-or-npm bili && yarn-or-npm build:copy-files",
"docs:start": "cd docs && yarn-or-npm develop",
"docs:deploy": "cd docs && yarn-or-npm deploy",
"test": "yarn-or-npm unit && yarn-or-npm e2e && yarn-or-npm lint",
"unit": "jest src",
"unit:watch": "jest --watchAll src",
"start:ci": "vite ./examples --port 3001 --mode production",
"e2e": "start-server-and-test start http://localhost:3001 cy:run",
"e2e:ci": "start-server-and-test start:ci http://localhost:3001 cy:ci",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:ci": "percy exec -- cypress run --record",
"lint": "eslint --ext .ts,.tsx ./examples ./src",
"type-check": "tsc --noEmit",
"prebuild": "rimraf dist",
"build:copy-files": "node ./scripts/copy-build-files.js",
"precommit": "lint-staged",
"format": "prettier --write src/**/*.ts* docs/src/**/*.{js,css}"
},
"peerDependencies": {
"react": ">=16.4.0",
"react-dom": ">=16.4.0"
},
"dependencies": {
"normalize-wheel": "^1.0.1",
"tslib": "^2.0.1"
},
"devDependencies": {
"@auto-it/all-contributors": "11.1.6",
"@auto-it/first-time-contributor": "11.1.6",
"@auto-it/released": "11.1.6",
"@percy/cli": "^1.0.0-beta.71",
"@percy/cypress": "^3.1.1",
"@types/jest": "^29.4.0",
"@types/lodash.debounce": "^4.0.6",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"all-contributors-cli": "^6.4.0",
"auto": "11.1.6",
"bili": "^5.0.5",
"cypress": "^5.2.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"jest": "^29.4.2",
"lint-staged": "^10.4.0",
"lodash.debounce": "^4.0.8",
"np": "^6.5.0",
"prettier": "^2.1.2",
"query-string": "^6.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0",
"rollup-plugin-typescript2": "^0.27.1",
"start-server-and-test": "^1.15.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"vite": "^4.1.1",
"yarn-or-npm": "^3.0.1"
},
"lint-staged": {
"*.+(ts|tsx|js|css)": [
"prettier --write",
"git add"
]
},
"jest": {
"preset": "ts-jest",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
}
}