Debian Codegraph @

node/react-dropzone/package.json

raw
1 {
2 "name": "react-dropzone",
3 "description": "Simple HTML5 drag-drop zone with React.js",
4 "main": "dist/index.js",
5 "module": "dist/es/index.js",
6 "exports": {
7 ".": {
8 "import": {
9 "types": "./typings/react-dropzone.d.ts",
10 "default": "./dist/es/index.js"
11 },
12 "require": {
13 "types": "./typings/react-dropzone.d.ts",
14 "default": "./dist/index.js"
15 }
16 }
17 },
18 "typesVersions": {
19 "*": {
20 ".": [
21 "./typings/react-dropzone.d.ts"
22 ]
23 }
24 },
25 "sideEffects": false,
26 "scripts": {
27 "cz": "git-cz",
28 "clean": "rimraf ./dist",
29 "build": "yarn clean && yarn build:umd && yarn build:es && yarn build:es-package",
30 "build:umd": "cross-env NODE_ENV=es rollup -c",
31 "build:es": "cross-env BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore '**/*.spec.js'",
32 "build:es-package": "echo '{\"type\":\"module\"}' > dist/es/package.json",
33 "start": "styleguidist server",
34 "styleguide": "styleguidist build",
35 "test": "cross-env NODE_ENV=test yarn lint && jest --coverage && yarn typescript",
36 "test:watch": "cross-env NODE_ENV=test jest --watch",
37 "lint": "eslint .",
38 "lint:fix": "eslint . --fix",
39 "commitmsg": "commitlint -e",
40 "prepublish": "yarn build && yarn size",
41 "_postinstall": "husky install",
42 "prepublishOnly": "pinst --disable",
43 "postpublish": "pinst --enable",
44 "logo": "cd logo && sketchtool export artboards logo.sketch",
45 "imagemin": "imagemin --out-dir=logo --plugin=pngquant --plugin=svgo",
46 "size": "size-limit",
47 "size:why": "size-limit --why",
48 "typescript": "tsc --project ./typings/tests"
49 },
50 "size-limit": [
51 {
52 "path": "dist/index.js",
53 "limit": "17 KB"
54 },
55 {
56 "path": "dist/es/index.js",
57 "limit": "17 KB"
58 }
59 ],
60 "lint-staged": {
61 "*.js": [
62 "eslint . --fix"
63 ],
64 "*.ts": [
65 "eslint ."
66 ],
67 "*.{svg,png}": [
68 "imagemin"
69 ]
70 },
71 "config": {
72 "commitizen": {
73 "path": "@commitlint/prompt"
74 }
75 },
76 "jest": {
77 "testEnvironment": "jsdom",
78 "clearMocks": true,
79 "setupFilesAfterEnv": [
80 "<rootDir>/testSetup.js"
81 ],
82 "coveragePathIgnorePatterns": [
83 "/dist/",
84 "/node_modules/",
85 "<rootDir>/testSetup.js"
86 ],
87 "testPathIgnorePatterns": [
88 "/node_modules/",
89 "/dist/"
90 ]
91 },
92 "keywords": [
93 "react-component",
94 "react",
95 "drag",
96 "drop",
97 "upload"
98 ],
99 "repository": {
100 "type": "git",
101 "url": "https://github.com/react-dropzone/react-dropzone.git"
102 },
103 "bugs": {
104 "url": "https://github.com/react-dropzone/react-dropzone/issues"
105 },
106 "homepage": "https://github.com/react-dropzone/react-dropzone",
107 "author": "Param Aggarwal",
108 "contributors": [
109 "Andrey Okonetchnikov <[email protected]> (http://okonet.ru)",
110 "Mike Olson <[email protected]>",
111 "Param Aggarwal",
112 "Tyler Waters <[email protected]>",
113 "Rick Markins <[email protected]>",
114 "Roland Groza <[email protected]>"
115 ],
116 "license": "MIT",
117 "peerDependencies": {
118 "react": ">= 16.8 || 18.0.0"
119 },
120 "dependencies": {
121 "attr-accept": "^2.2.4",
122 "file-selector": "^2.1.0",
123 "prop-types": "^15.8.1"
124 },
125 "devDependencies": {
126 "@babel/cli": "^7.16.8",
127 "@babel/core": "^7.16.12",
128 "@babel/eslint-parser": "^7.16.5",
129 "@babel/plugin-external-helpers": "^7.16.7",
130 "@babel/plugin-proposal-do-expressions": "^7.16.7",
131 "@babel/plugin-proposal-export-default-from": "^7.16.7",
132 "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
133 "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
134 "@babel/plugin-proposal-optional-chaining": "^7.16.7",
135 "@babel/plugin-proposal-pipeline-operator": "^7.16.7",
136 "@babel/plugin-transform-runtime": "^7.16.10",
137 "@babel/preset-env": "^7.16.11",
138 "@babel/preset-react": "^7.16.7",
139 "@babel/register": "^7.16.9",
140 "@commitlint/cli": "^16.1.0",
141 "@commitlint/config-angular": "^16.0.0",
142 "@commitlint/prompt": "^16.1.0",
143 "@commitlint/prompt-cli": "^16.1.0",
144 "@rollup/plugin-babel": "^5.3.0",
145 "@rollup/plugin-commonjs": "^21.0.1",
146 "@rollup/plugin-node-resolve": "^13.1.3",
147 "@semantic-release/changelog": "^6.0.0",
148 "@semantic-release/commit-analyzer": "^12.0.0",
149 "@semantic-release/github": "^10.0.0",
150 "@semantic-release/npm": "^13.1.3",
151 "@semantic-release/release-notes-generator": "^14.1.0",
152 "@size-limit/preset-small-lib": "^7.0.5",
153 "@size-limit/webpack": "^7.0.5",
154 "@size-limit/webpack-why": "^7.0.5",
155 "@testing-library/dom": "^8.11.3",
156 "@testing-library/jest-dom": "^5.16.1",
157 "@testing-library/react": "^13.1.1",
158 "@testing-library/react-hooks": "^8.0.0",
159 "@types/react": "^17.0.0",
160 "@types/react-dom": "^17.0.0",
161 "@typescript-eslint/eslint-plugin": "^5.10.1",
162 "@typescript-eslint/parser": "^5.10.1",
163 "babel-jest": "^27.4.6",
164 "babel-plugin-add-module-exports": "^1.0.4",
165 "babel-plugin-dynamic-import-node": "^2.3.3",
166 "commitizen": "^4.2.4",
167 "cross-env": "^7.0.3",
168 "eslint": "^8.8.0",
169 "eslint-config-prettier": "^8.3.0",
170 "eslint-plugin-import": "^2.25.4",
171 "eslint-plugin-jsx-a11y": "^6.5.1",
172 "eslint-plugin-node": "^11.1.0",
173 "eslint-plugin-prettier": "^4.0.0",
174 "eslint-plugin-react": "^7.28.0",
175 "eslint-plugin-react-hooks": "^4.3.0",
176 "husky": "^7.0.4",
177 "imagemin-cli": "^8.0.0",
178 "imagemin-pngquant": "^10.0.0",
179 "jest": "^27.4.7",
180 "lint-staged": "^12.3.2",
181 "markdownlint-cli": "^0.30.0",
182 "pinst": "^2.1.6",
183 "prettier": "^2.5.1",
184 "react": "^18.1.0",
185 "react-dom": "^18.1.0",
186 "react-styleguidist": "^11.2.0",
187 "react-test-renderer": "^18.1.0",
188 "rimraf": "^3.0.2",
189 "rollup": "^2.66.1",
190 "rollup-plugin-terser": "^7.0.2",
191 "semantic-release": "^25.0.2",
192 "size-limit": "^7.0.5",
193 "style-loader": "^3.3.1",
194 "styled-components": "^5.3.3",
195 "typescript": "^5.6.3",
196 "webpack": "^5.67.0",
197 "webpack-blocks": "^2.1.0"
198 },
199 "typings": "typings/react-dropzone.d.ts",
200 "version": "14.4.1",
201 "engines": {
202 "node": ">= 10.13"
203 },
204 "browserslist": [
205 "defaults"
206 ],
207 "packageManager": "[email protected]",
208 "resolutions": {
209 "node-sass": "^9.0.0"
210 }
211 }