UNPKG

linux-os-release

Version:

Reads Linux operating system identification data

47 lines (46 loc) 1.31 kB
{ "name": "linux-os-release", "version": "0.1.0", "description": "Reads Linux operating system identification data", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "scripts": { "build": "esbuild index.ts --bundle --platform=node --target=node16 --format=cjs --outfile=dist/index.js && esbuild index.ts --bundle --platform=node --target=node16 --format=esm --outfile=dist/index.mjs && tsc --declaration --emitDeclarationOnly --outDir dist", "test": "tsx --test *.test.ts", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/samuelmaddock/linux-os-release.git" }, "keywords": [ "linux", "os-release", "freedesktop", "identification", "distro" ], "author": "Samuel Maddock", "license": "MIT", "bugs": { "url": "https://github.com/samuelmaddock/linux-os-release/issues" }, "homepage": "https://github.com/samuelmaddock/linux-os-release#readme", "devDependencies": { "@types/node": "^20.0.0", "esbuild": "^0.19.0", "tsx": "^4.20.3", "typescript": "^5.0.0" } }