87 lines
2 KiB
JSON
87 lines
2 KiB
JSON
{
|
|
"name": "read",
|
|
"version": "3.0.1",
|
|
"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": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@npmcli/eslint-config": "^4.0.2",
|
|
"@npmcli/template-oss": "4.20.0",
|
|
"@types/mute-stream": "^0.0.4",
|
|
"@types/tap": "^15.0.11",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"c8": "^8.0.1",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"tap": "^16.3.9",
|
|
"ts-node": "^10.9.1",
|
|
"tshy": "^1.8.0",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"engines": {
|
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
},
|
|
"author": "GitHub Inc.",
|
|
"description": "read(1) for node programs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/npm/read.git"
|
|
},
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"prepare": "tshy",
|
|
"pretest": "npm run prepare",
|
|
"presnap": "npm run prepare",
|
|
"test": "c8 tap",
|
|
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
|
|
"postlint": "template-oss-check",
|
|
"template-oss-apply": "template-oss-apply --force",
|
|
"lintfix": "npm run lint -- --fix",
|
|
"snap": "c8 tap",
|
|
"posttest": "npm run lint"
|
|
},
|
|
"templateOSS": {
|
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
"version": "4.20.0",
|
|
"publish": true,
|
|
"typescript": true,
|
|
"content": "./scripts/template-oss"
|
|
},
|
|
"main": "./dist/commonjs/read.js",
|
|
"types": "./dist/commonjs/read.d.ts",
|
|
"tap": {
|
|
"coverage": false,
|
|
"node-arg": [
|
|
"--no-warnings",
|
|
"--loader",
|
|
"ts-node/esm"
|
|
],
|
|
"ts": false,
|
|
"nyc-arg": [
|
|
"--exclude",
|
|
"tap-snapshots/**"
|
|
]
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
]
|
|
}
|