|
1 | 1 | { |
2 | | - "name": "react-dropzone-esm", |
| 2 | + "name": "@aptre/react-dropzone", |
3 | 3 | "description": "Simple HTML5 drag-drop zone with React.js", |
4 | | - "version": "15.0.1", |
| 4 | + "version": "1.0.0", |
5 | 5 | "types": "./types/react-dropzone.d.ts", |
6 | | - "main": "./dist/cjs/index.js", |
7 | 6 | "module": "./dist/esm/index.mjs", |
8 | 7 | "exports": { |
9 | 8 | ".": { |
|
19 | 18 | }, |
20 | 19 | "sideEffects": false, |
21 | 20 | "scripts": { |
22 | | - "clean": "rm -rf ./dist", |
23 | | - "build": "npm run clean && rollup -c rollup.config.mjs", |
24 | | - "release:patch": "npm run build && npm version patch && yarn publish && git push", |
25 | | - "release:minor": "npm run build && npm version minor && yarn publish && git push", |
26 | | - "release:major": "npm run build && npm version major && yarn publish && git push" |
| 21 | + "clean": "rimraf ./dist", |
| 22 | + "build": "npm run clean && esbuild --bundle --external:react --external:react-dom --format=esm --target=es2022 --platform=browser --outfile=./dist/index.mjs ./src/index.jsx", |
| 23 | + "build:min": "npm run build -- --minify" |
27 | 24 | }, |
28 | 25 | "keywords": [ |
29 | 26 | "react-component", |
|
34 | 31 | ], |
35 | 32 | "repository": { |
36 | 33 | "type": "git", |
37 | | - "url": "https://github.com/rtivital/react-dropzone-esm.git" |
| 34 | + "url": "git+https://github.com/apertureerobotics/react-dropzone.git" |
38 | 35 | }, |
39 | 36 | "bugs": { |
40 | | - "url": "https://github.com/rtivital/react-dropzone-esm/issues" |
| 37 | + "url": "https://github.com/aperturerobotics/react-dropzone/issues" |
41 | 38 | }, |
42 | | - "homepage": "https://github.com/rtivital/react-dropzone-esm", |
43 | | - "author": "Vitaly Rtishchev <rtivital@gmail.com>", |
| 39 | + "homepage": "https://github.com/apertureerobotics/react-dropzone", |
44 | 40 | "contributors": [ |
45 | 41 | "Andrey Okonetchnikov <andrey@okonet.ru> (http://okonet.ru)", |
46 | 42 | "Mike Olson <me@mwolson.org>", |
|
57 | 53 | "prop-types": "^15.8.1" |
58 | 54 | }, |
59 | 55 | "devDependencies": { |
60 | | - "rollup": "^3.29.4", |
61 | | - "rollup-plugin-banner2": "^1.2.2", |
62 | | - "rollup-plugin-esbuild": "^6.0.2", |
63 | | - "rollup-plugin-node-externals": "^6.1.1", |
64 | | - "@rollup/plugin-commonjs": "^25.0.4", |
65 | | - "@rollup/plugin-node-resolve": "^15.2.1", |
66 | | - "@rollup/plugin-replace": "^5.0.2", |
67 | 56 | "@types/react": "^18.2.24", |
68 | 57 | "@types/react-dom": "^18.2.8", |
69 | | - "esbuild": "^0.19.4", |
| 58 | + "esbuild": "^0.19.11", |
70 | 59 | "prettier": "^3.0.3", |
71 | 60 | "react": "^18.2.0", |
72 | 61 | "react-dom": "^18.2.0", |
| 62 | + "rimraf": "^5.0.5", |
73 | 63 | "typescript": "^5.2.2" |
74 | 64 | }, |
75 | 65 | "engines": { |
|
0 commit comments