diff --git a/package.json b/package.json index ad1ad8b..77ac99b 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,8 @@ "version": "0.0.0-development", "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", + "module": "./dist/es2015/index.js", + "types": "./dist/index.d.ts", "files": [ "dist/**/*", "src/*", @@ -32,9 +31,8 @@ "prebuild": "npm run clean", "build": "npm-run-all -s compile build:umd", "build:umd": "rollup -c ./rollup.config.mjs", - "compile": "npm-run-all -p compile:es2015 compile:es5 compile:cjs compile:types", + "compile": "npm-run-all -p compile:es2015 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/*", diff --git a/tsconfig.es5.json b/tsconfig.es5.json deleted file mode 100644 index 7a5bbce..0000000 --- a/tsconfig.es5.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "es2015", - "moduleResolution": "node", - "target": "es5", - "outDir": "./dist/es5", - "importHelpers": true - } -}