forked from ValentinH/react-easy-crop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.33 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": "3.2.2",
"description": "A React component to crop images/videos with easy interactions",
"homepage": "https://ricardo-ch.github.io/react-easy-crop/",
"keywords": [
"react",
"crop",
"cropper",
"image crop"
],
"repository": {
"type": "git",
"url": "https://github.com/ricardo-ch/react-easy-crop"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Ricardo.ch",
"license": "MIT",
"sideEffects": false,
"scripts": {
"start": "webpack-dev-server --mode development",
"version": "yarn && 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": "webpack-dev-server --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": "cypress run --record",
"lint": "eslint --ext .ts,.tsx ./examples ./src",
"prebuild": "rimraf dist",
"build:copy-files": "babel-node ./scripts/copy-build-files.js",
"prepublishOnly": "yarn-or-npm build",
"precommit": "lint-staged",
"format": "prettier --write src/**/*.ts* docs/src/**/*.{js,css}",
"npm:publish": "np --contents=dist"
},
"peerDependencies": {
"react": ">=16.4.0",
"react-dom": ">=16.4.0"
},
"dependencies": {
"tslib": "2.0.1"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/node": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@types/jest": "^26.0.14",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@typescript-eslint/eslint-plugin": "4.2.0",
"@typescript-eslint/parser": "4.2.0",
"all-contributors-cli": "^6.4.0",
"babel-eslint": "10.x",
"babel-loader": "^8.0.5",
"bili": "^5.0.5",
"copy-webpack-plugin": "^6.1.1",
"css-loader": "^4.3.0",
"cypress": "^5.2.0",
"eslint": "7.9.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-react-app": "^5.1.0",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.x",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-react": "7.x",
"eslint-plugin-react-hooks": "4.1.2",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"jest": "26.4.2",
"lint-staged": "^10.4.0",
"np": "^6.5.0",
"prettier": "^2.1.2",
"query-string": "^6.1.0",
"raw-loader": "^4.0.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "^3.0.0",
"rollup-plugin-typescript2": "^0.27.1",
"start-server-and-test": "^1.4.1",
"style-loader": "^1.2.1",
"ts-jest": "^26.4.0",
"ts-loader": "^8.0.4",
"typescript": "^4.0.3",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.11.0",
"yarn-or-npm": "^3.0.1"
},
"lint-staged": {
"*.+(ts|tsx|js|css)": [
"prettier --write",
"git add"
]
},
"jest": {
"preset": "ts-jest"
}
}