123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- "name": "file-selector",
- "version": "0.6.0",
- "description": "Convert DataTransfer object to a list of File objects",
- "main": "./dist/index.js",
- "module": "./dist/es5/index.js",
- "es2015": "./dist/es2015/index.js",
- "typings": "./dist/index.d.ts",
- "files": [
- "dist/**/*",
- "src/*",
- "!*.spec.*",
- "LICENSE"
- ],
- "keywords": [
- "drag-and-drop",
- "html5",
- "file-api",
- "DataTransfer",
- "File"
- ],
- "homepage": "https://github.com/react-dropzone/file-selector",
- "license": "MIT",
- "author": {
- "name": "Roland Groza",
- "email": "rolandjitsu@gmail.com"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/react-dropzone/file-selector.git"
- },
- "scripts": {
- "prebuild": "yarn run clean",
- "build": "npm-run-all -s compile build:umd",
- "build:umd": "rollup -c ./rollup.config.js",
- "compile": "npm-run-all -p compile:es2015 compile:es5 compile:cjs compile:types",
- "compile:es2015": "tsc -p ./tsconfig.es2015.json",
- "compile:es5": "tsc -p ./tsconfig.es5.json",
- "compile:cjs": "tsc -p ./tsconfig.cjs.json",
- "compile:types": "tsc -p ./tsconfig.types.json",
- "clean": "rm -rf dist/*",
- "lint": "tslint -c tslint.json -p ./tsconfig.spec.json -t stylish",
- "lint:fix": "yarn run lint -- --fix",
- "pretest:cov": "yarn run lint",
- "test:cov": "jest --coverage",
- "test": "jest --watch"
- },
- "dependencies": {
- "tslib": "^2.4.0"
- },
- "devDependencies": {
- "@babel/core": "^7.17.10",
- "@rollup/plugin-commonjs": "^22.0.0",
- "@rollup/plugin-node-resolve": "^13.2.1",
- "@types/jest": "^27.4.1",
- "@types/node": "^17.0.30",
- "babel-jest": "^28.0.3",
- "camelcase": "^6.3.0",
- "jest": "^28.0.3",
- "jest-environment-jsdom": "^28.0.2",
- "npm-run-all": "^4.1.5",
- "rollup": "^2.70.2",
- "rollup-plugin-sourcemaps": "^0.6.3",
- "rollup-plugin-terser": "^7.0.2",
- "ts-jest": "next",
- "tslint": "^6.1.3",
- "typescript": "^4.6.4"
- },
- "engines": {
- "node": ">= 12"
- }
- }
|