-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
70 lines (70 loc) · 2 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
{
"name": "react-files",
"version": "3.0.3",
"main": "dist/index.js",
"description": "A file input (dropzone) management component for React",
"scripts": {
"build": "rm -rf dist && webpack --config config/webpack.build.config.js",
"examples": "node examples/server.js",
"lint": "git diff HEAD --name-only --diff-filter=ACM | grep '.js$' | xargs node ./node_modules/eslint/bin/eslint.js --quiet",
"lint-full": "node ./node_modules/eslint/bin/eslint.js .",
"webpack-analyze": "mkdir -p .tmp; NODE_ENV=production webpack --config config/webpack.build.config.js --profile --json > .tmp/stats.json; webpack-bundle-analyzer .tmp/stats.json"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm audit",
"post-merge": "npm install",
"post-receive": "npm install",
"post-rewrite": "npm install"
}
},
"files": [
"dist/index.js"
],
"repository": {
"type": "git",
"url": "https://github.com/mother/react-files.git"
},
"keywords": [
"react",
"reactjs",
"component",
"file",
"files",
"input",
"dropzone"
],
"author": "Mother Co",
"license": "MIT",
"bugs": {
"url": "https://github.com/mother/react-files/issues"
},
"homepage": "https://github.com/mother/react-files",
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"axios": "^1.7.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"blob": "^0.1.0",
"eslint-config-mother": "^2.0.15",
"express": "^4.19.2",
"form-data": "^4.0.0",
"husky": "^4.2.5",
"multer": "^1.4.5-lts.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"webpack": "^5.92.1",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-dev-middleware": "^6.1.3",
"webpack-hot-middleware": "^2.26.1"
}
}