forked from ValentinH/react-easy-crop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.4 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
{
"name": "react-easy-crop",
"version": "1.10.0",
"description": "A React component to crop images with easy interactions",
"main": "dist/index.js",
"homepage": "https://ricardo-ch.github.io/react-easy-crop/",
"repository": {
"type": "git",
"url": "https://github.com/ricardo-ch/react-easy-crop"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Ricardo.ch",
"license": "MIT",
"scripts": {
"start": "webpack-dev-server --mode development",
"build": "rm -rf dist/* && yarn build:dist && yarn build:standalone",
"build:dist": "babel src -d dist --ignore 'src/*.test.js'",
"build:standalone": "webpack -p --config webpack.standalone.config.js",
"docs:start": "cd docs && yarn develop",
"docs:deploy": "cd docs && yarn deploy",
"test": "jest && yarn e2e",
"unit": "jest",
"unit:watch": "jest --watchAll",
"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",
"prepublishOnly": "yarn build",
"precommit": "lint-staged",
"format": "prettier --write src/**/*.js docs/src/**/*.{js,css}",
"npm:publish": "np"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"dependencies": {
"@emotion/core": "^10.0.7",
"@emotion/styled": "^10.0.7"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@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",
"babel-loader": "^8.0.5",
"copy-webpack-plugin": "^5.0.0",
"css-loader": "^2.1.1",
"cypress": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"jest": "24.3.1",
"lint-staged": "^8.1.5",
"np": "^4.0.2",
"prettier": "^1.13.5",
"query-string": "^6.1.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"start-server-and-test": "^1.4.1",
"style-loader": "^0.23.1",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4"
},
"files": [
"dist"
],
"lint-staged": {
"*.+(js|css)": [
"prettier --write",
"git add"
]
}
}