| 1 |
{ |
| 2 |
"name": "file-selector", |
| 3 |
"version": "2.1.2", |
| 4 |
"description": "Convert DataTransfer object to a list of File objects", |
| 5 |
"main": "./dist/index.js", |
| 6 |
"module": "./dist/es2015/index.js", |
| 7 |
"types": "./dist/index.d.ts", |
| 8 |
"files": [ |
| 9 |
"dist/**/*", |
| 10 |
"src/*", |
| 11 |
"!*.spec.*" |
| 12 |
], |
| 13 |
"keywords": [ |
| 14 |
"drag-and-drop", |
| 15 |
"html5", |
| 16 |
"file-api", |
| 17 |
"DataTransfer", |
| 18 |
"File" |
| 19 |
], |
| 20 |
"homepage": "https://github.com/react-dropzone/file-selector", |
| 21 |
"license": "MIT", |
| 22 |
"author": { |
| 23 |
"name": "Roland Groza", |
| 24 |
"email": "[email protected]" |
| 25 |
}, |
| 26 |
"repository": { |
| 27 |
"type": "git", |
| 28 |
"url": "https://github.com/react-dropzone/file-selector.git" |
| 29 |
}, |
| 30 |
"publishConfig": { |
| 31 |
"access": "public" |
| 32 |
}, |
| 33 |
"scripts": { |
| 34 |
"prebuild": "npm run clean", |
| 35 |
"build": "npm-run-all -s compile build:umd", |
| 36 |
"build:umd": "rollup -c ./rollup.config.mjs", |
| 37 |
"compile": "npm-run-all -p compile:es2015 compile:cjs compile:types", |
| 38 |
"compile:es2015": "tsc -p ./tsconfig.es2015.json", |
| 39 |
"compile:cjs": "tsc -p ./tsconfig.cjs.json", |
| 40 |
"compile:types": "tsc -p ./tsconfig.types.json", |
| 41 |
"clean": "rm -rf dist/*", |
| 42 |
"lint": "tslint -c tslint.json -p ./tsconfig.spec.json -t stylish", |
| 43 |
"lint:fix": "npm run lint -- --fix", |
| 44 |
"pretest:cov": "npm run lint", |
| 45 |
"test:cov": "jest --coverage", |
| 46 |
"test": "jest --watch" |
| 47 |
}, |
| 48 |
"dependencies": { |
| 49 |
"tslib": "^2.7.0" |
| 50 |
}, |
| 51 |
"devDependencies": { |
| 52 |
"@rollup/plugin-commonjs": "^28.0.0", |
| 53 |
"@rollup/plugin-node-resolve": "^15.3.0", |
| 54 |
"@rollup/plugin-terser": "^0.4.4", |
| 55 |
"@types/jest": "^29.5.13", |
| 56 |
"@types/node": "^22.7.5", |
| 57 |
"camelcase": "^8.0.0", |
| 58 |
"jest": "^29.7.0", |
| 59 |
"jest-environment-jsdom": "^29.7.0", |
| 60 |
"npm-run-all": "^4.1.5", |
| 61 |
"rollup": "^4.24.0", |
| 62 |
"ts-jest": "^29.2.5", |
| 63 |
"tslint": "^6.1.3", |
| 64 |
"typescript": "^5.6.2" |
| 65 |
}, |
| 66 |
"engines": { |
| 67 |
"node": ">= 12" |
| 68 |
} |
| 69 |
} |