forked from react-dropzone/react-dropzone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 5.34 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "react-dropzone",
"description": "Simple HTML5 drag-drop zone with React.js",
"main": "dist/index.js",
"module": "dist/es/index.js",
"sideEffects": false,
"scripts": {
"cz": "git-cz",
"clean": "rimraf ./dist",
"build": "yarn clean && yarn build:umd && yarn build:es",
"build:umd": "cross-env NODE_ENV=es rollup -c",
"build:es": "cross-env BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore '**/*.spec.js'",
"start": "styleguidist server",
"styleguide": "styleguidist build",
"test": "cross-env NODE_ENV=test yarn lint && jest --coverage && yarn typescript",
"test:watch": "cross-env NODE_ENV=test jest --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"commitmsg": "commitlint -e",
"prepublish": "yarn build && yarn size",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"logo": "cd logo && sketchtool export artboards logo.sketch",
"imagemin": "imagemin --out-dir=logo --plugin=pngquant --plugin=svgo",
"size": "size-limit",
"size:why": "size-limit --why",
"typescript": "tsc --project ./typings/tests"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "8 KB"
},
{
"path": "dist/es/index.js",
"limit": "8 KB"
}
],
"lint-staged": {
"*.js": [
"eslint . --fix"
],
"*.ts": [
"eslint ."
],
"*.{svg,png}": [
"imagemin"
]
},
"config": {
"commitizen": {
"path": "@commitlint/prompt"
}
},
"jest": {
"testEnvironment": "jsdom",
"clearMocks": true,
"setupFilesAfterEnv": [
"<rootDir>/testSetup.js"
],
"coveragePathIgnorePatterns": [
"/dist/",
"/node_modules/",
"<rootDir>/testSetup.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"keywords": [
"react-component",
"react",
"drag",
"drop",
"upload"
],
"repository": {
"type": "git",
"url": "https://github.com/react-dropzone/react-dropzone.git"
},
"bugs": {
"url": "https://github.com/react-dropzone/react-dropzone/issues"
},
"homepage": "https://github.com/react-dropzone/react-dropzone",
"author": "Param Aggarwal",
"contributors": [
"Andrey Okonetchnikov <[email protected]> (http://okonet.ru)",
"Mike Olson <[email protected]>",
"Param Aggarwal",
"Tyler Waters <[email protected]>",
"Rick Markins <[email protected]>",
"Roland Groza <[email protected]>"
],
"license": "MIT",
"peerDependencies": {
"react": ">= 16.8 || 18.0.0"
},
"dependencies": {
"attr-accept": "^2.2.2",
"file-selector": "^0.6.0",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-external-helpers": "^7.16.7",
"@babel/plugin-proposal-do-expressions": "^7.16.7",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-proposal-pipeline-operator": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/register": "^7.16.9",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-angular": "^16.0.0",
"@commitlint/prompt": "^16.1.0",
"@commitlint/prompt-cli": "^16.1.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@size-limit/preset-small-lib": "^7.0.5",
"@size-limit/webpack": "^7.0.5",
"@size-limit/webpack-why": "^7.0.5",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^13.1.1",
"@testing-library/react-hooks": "^8.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"babel-jest": "^27.4.6",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-dynamic-import-node": "^2.3.3",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"imagemin-cli": "^7.0.0",
"imagemin-pngquant": "^9.0.2",
"jest": "^27.4.7",
"lint-staged": "^12.3.2",
"markdownlint-cli": "^0.30.0",
"pinst": "^2.1.6",
"prettier": "^2.5.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-styleguidist": "^11.2.0",
"react-test-renderer": "^18.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.66.1",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^7.0.5",
"style-loader": "^3.3.1",
"styled-components": "^5.3.3",
"typescript": "^4.0.2",
"webpack": "^5.67.0",
"webpack-blocks": "^2.1.0"
},
"typings": "typings/react-dropzone.d.ts",
"version": "0.0.0-development",
"engines": {
"node": ">= 10.13"
},
"browserslist": [
"defaults"
]
}