@scalvert/bin-tester
Version:
A test harness to invoke a CLI in a tmp directory
99 lines (98 loc) • 2.62 kB
JSON
{
"name": "@scalvert/bin-tester",
"version": "3.0.0",
"description": "A test harness to invoke a CLI in a tmp directory",
"keywords": [
"cli",
"fake",
"project",
"test",
"harness"
],
"repository": {
"type": "git",
"url": "https://github.com/scalvert/bin-tester.git"
},
"license": "MIT",
"author": "Steve Calvert <steve.calvert@gmail.com>",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"docs": "typedoc",
"docs:check": "markdown-code check",
"docs:sync": "markdown-code sync",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . && npm run format:check && npm run docs:check",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run test:vitest",
"test:vitest": "vitest run",
"test:watch": "vitest",
"watch": "npm run build -- --watch src"
},
"files": [
"dist"
],
"dependencies": {
"execa": "^9.6.1",
"fixturify-project": "^7.1.3"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-typescript": "^7.27.0",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.27.0",
"@release-it-plugins/lerna-changelog": "^8.0.1",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-jsdoc": "^61.5.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-unicorn": "^62.0.0",
"fixturify": "^3.0.0",
"markdown-code": "^0.6.1",
"prettier": "^3.5.3",
"release-it": "^19.2.2",
"tsup": "^8.4.0",
"type-fest": "^5.3.1",
"typedoc": "^0.28.15",
"typescript": "^5.8.3",
"vite": "^7.3.0",
"vitest": "^4.0.16"
},
"engines": {
"node": ">=22"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"release-it": {
"plugins": {
"@release-it-plugins/lerna-changelog": {
"infile": "CHANGELOG.md",
"launchEditor": true
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
}
}
}