npm
Version:
a package manager for JavaScript
74 lines (73 loc) • 2.11 kB
JSON
{
"name": "read",
"version": "6.0.0",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/read.d.ts",
"default": "./dist/esm/read.js"
},
"require": {
"types": "./dist/commonjs/read.d.ts",
"default": "./dist/commonjs/read.js"
}
}
},
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/read.ts"
}
},
"dependencies": {
"mute-stream": "^4.0.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^6.0.0",
"@npmcli/template-oss": "5.1.0",
"@types/mute-stream": "^0.0.4",
"@typescript-eslint/parser": "^8.0.1",
"eslint-import-resolver-typescript": "^4.3.2",
"tshy": "^4.1.1",
"typescript": "^6.0.3"
},
"engines": {
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
},
"author": "GitHub Inc.",
"description": "read(1) for node programs",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/read.git"
},
"license": "ISC",
"scripts": {
"prepare": "tshy",
"test": "node --experimental-strip-types --no-warnings --test './test/*.ts'",
"snap": "node --experimental-strip-types --no-warnings --test --test-update-snapshots './test/*.ts'",
"test:cover": "node --experimental-strip-types --no-warnings --test --experimental-test-coverage './test/*.ts'",
"lint": "npm run eslint",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run eslint -- --fix",
"posttest": "npm run lint",
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "5.1.0",
"publish": true,
"typescript": true,
"updateNpm": false,
"testRunner": "node:test",
"content": "./scripts/template-oss"
},
"main": "./dist/commonjs/read.js",
"types": "./dist/commonjs/read.d.ts",
"files": [
"dist/"
],
"module": "./dist/esm/read.js"
}