UNPKG

electron-dl-manager

Version:

A library for implementing file downloads in Electron with 'save as' dialog and id support.

70 lines (69 loc) 2.3 kB
{ "name": "electron-dl-manager", "version": "4.0.0", "description": "A library for implementing file downloads in Electron with 'save as' dialog and id support.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "umd:main": "dist/umd/index.js", "types": "dist/types/index.d.ts", "scripts": { "prepublishOnly": "npm run clean && npm run test && npm run lint && npm run build", "build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types", "build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json", "build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json", "build:umd": "node tools/cleanup umd && webpack --config config/webpack.config.js", "build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json", "clean": "node tools/cleanup", "package": "npm run build && npm pack", "format": "npx @biomejs/biome format src --write && npx @biomejs/biome format test --write", "lint": "npx @biomejs/biome lint src && npx @biomejs/biome lint test", "lint:check": "npx @biomejs/biome check --apply-unsafe src && npx @biomejs/biome check --apply-unsafe test", "test": "jest --no-cache --runInBand", "test:cov": "jest --coverage --no-cache --runInBand" }, "publishConfig": { "access": "public" }, "files": ["dist"], "keywords": [ "electron", "app", "file", "download", "downloader", "progress", "multi", "electron-dl", "manager", "library" ], "author": "Theo Gravity <theo@suteki.nu>", "license": "MIT", "homepage": "https://github.com/theogravity/electron-dl-manager", "repository": { "type": "git", "url": "git@github.com:theogravity/electron-dl-manager.git" }, "bugs": { "url": "https://github.com/theogravity/electron-dl-manager/issues" }, "dependencies": { "ext-name": "^5.0.0", "unused-filename": "^3.0.1" }, "peerDependencies": { "electron": ">=26" }, "devDependencies": { "@biomejs/biome": "1.6.3", "@types/jest": "^29.5.12", "add": "^2.0.6", "electron": "30.3.0", "jest": "^29.7.0", "ts-jest": "^29.1.2", "ts-loader": "^9.5.1", "typescript": "^5.4.2", "webpack": "^5.52.1", "webpack-cli": "^4.8.0" } }