UNPKG

2.03 kBJSONView Raw
1{
2 "name": "file-selector",
3 "version": "0.2.4",
4 "description": "Convert DataTransfer object to a list of File objects",
5 "main": "./dist/index.js",
6 "module": "./dist/es5/index.js",
7 "es2015": "./dist/es2015/index.js",
8 "typings": "./dist/index.d.ts",
9 "files": [
10 "dist/**/*",
11 "src/*",
12 "!*.spec.*",
13 "LICENSE"
14 ],
15 "keywords": [
16 "drag-and-drop",
17 "html5",
18 "file-api",
19 "DataTransfer",
20 "File"
21 ],
22 "homepage": "https://github.com/react-dropzone/file-selector",
23 "license": "MIT",
24 "author": {
25 "name": "Roland Groza",
26 "email": "rolandjitsu@gmail.com"
27 },
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/react-dropzone/file-selector.git"
31 },
32 "scripts": {
33 "prebuild": "yarn run clean",
34 "build": "npm-run-all -s compile build:umd",
35 "build:umd": "rollup -c ./rollup.config.js",
36 "compile": "npm-run-all -p compile:es2015 compile:es5 compile:cjs compile:types",
37 "compile:es2015": "tsc -p ./tsconfig.es2015.json",
38 "compile:es5": "tsc -p ./tsconfig.es5.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": "yarn run lint -- --fix",
44 "pretest:cov": "yarn run lint",
45 "test:cov": "jest --coverage",
46 "test": "jest --watch"
47 },
48 "dependencies": {
49 "tslib": "^2.0.3"
50 },
51 "devDependencies": {
52 "@babel/core": "^7.12.3",
53 "@rollup/plugin-commonjs": "^15.1.0",
54 "@rollup/plugin-node-resolve": "^9.0.0",
55 "@types/jest": "^26.0.15",
56 "@types/node": "^14.14.2",
57 "babel-jest": "^26.6.0",
58 "camelcase": "^6.1.0",
59 "jest": "^26.6.0",
60 "jest-environment-jsdom": "^26.6.0",
61 "npm-run-all": "^4.1.5",
62 "rollup": "^2.32.1",
63 "rollup-plugin-sourcemaps": "^0.6.3",
64 "rollup-plugin-terser": "^7.0.2",
65 "ts-jest": "^26.4.1",
66 "tslint": "^6.1.3",
67 "typescript": "^4.0.3"
68 },
69 "engines": {
70 "node": ">= 10"
71 }
72}