forked from fortana-co/react-dropzone-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.93 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
{
"name": "react-dropzone-uploader",
"version": "2.11.0",
"author": "Kyle Bebak <[email protected]>",
"description": "React file dropzone and uploader: fully customizable, progress indicators, upload cancellation and restart, zero deps and excellent TypeScript support",
"main": "./dist/react-dropzone-uploader.js",
"types": "./dist/Dropzone.tsx",
"keywords": [
"react",
"react-component",
"file",
"HTML5",
"input",
"dropzone",
"uploader",
"progress",
"typescript",
"s3"
],
"repository": {
"type": "git",
"url": "git://github.com/fortana-co/react-dropzone-uploader.git"
},
"license": "MIT",
"peerDependencies": {
"react": ">=16.2.0",
"react-dom": ">=16.2.0",
"prop-types": ">=15.5.10"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.8.10",
"@types/react-dom": "^16.8.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-polyfill": "^6.26.0",
"css-loader": "^1.0.0",
"docusaurus-init": "^1.0.2",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"html5-file-selector": "^2.1.0",
"husky": "^1.3.1",
"jest": "^23.6.0",
"prettier": "1.16.4",
"react": ">=16.2.0",
"react-dom": ">=16.2.0",
"react-styleguidist": "^8.0.6",
"react-test-renderer": "^16.6.3",
"react-toastify": "^4.5.2",
"style-loader": "^0.23.1",
"typescript": "^3.4.1",
"uglifyjs-webpack-plugin": "^2.0.1",
"url-loader": "^1.1.2",
"webpack": "^4.21.0",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.14"
},
"jest": {
"moduleNameMapper": {
"\\.(png|jpg|jpeg|gif|svg|woff|woff2)$": "<rootDir>/tests/fileMock.js"
}
},
"scripts": {
"build": "rm dist/* && tsc && NODE_ENV=production webpack --config webpack.build.config.js && cp src/styles.css dist/styles.css && cp src/*.ts* dist",
"dev": "tsc -w -p tsconfig.dev.json & webpack-dev-server --config webpack.config.js --mode development --open",
"styleguide": "tsc -w & styleguidist server",
"build-styleguide": "tsc && styleguidist build",
"styleguide-quickstart": "tsc -w && styleguidist server --config styleguide-quickstart.config.js",
"build-styleguide-quickstart": "tsc && styleguidist build --config styleguide-quickstart.config.js",
"build-docs": "./build_docs.sh",
"test": "tsc && jest --coverage",
"prettier-check": "prettier --check src/**/*.ts src/**/*.tsx",
"prettier": "prettier --write src/**/*.ts src/**/*.tsx"
},
"dependencies": {
"@babel/runtime": "^7.1.2"
},
"husky": {
"hooks": {
"pre-push": "npm run prettier-check"
}
}
}