UNPKG

@scalvert/bin-tester

Version:

A test harness to invoke a CLI in a tmp directory

98 lines (97 loc) 2.5 kB
{ "name": "@scalvert/bin-tester", "version": "2.1.1", "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": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "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:generate": "readme-api-generator ./src --ts", "lint": "eslint .", "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": "^5.1.1", "fixturify-project": "^5.0.2" }, "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-object-rest-spread": "^7.17.3", "@babel/plugin-transform-typescript": "^7.16.8", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@scalvert/readme-api-generator": "^0.2.4", "@typescript-eslint/eslint-plugin": "^5.14.0", "@typescript-eslint/parser": "^5.14.0", "eslint": "^8.10.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jsdoc": "^38.0.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-unicorn": "^41.0.0", "fixturify": "^2.1.1", "prettier": "^2.5.1", "release-it": "^14.2.1", "release-it-lerna-changelog": "^3.1.0", "tsup": "^5.12.0", "type-fest": "^2.12.0", "typescript": "^4.6.2", "vite": "^2.8.6", "vitest": "^0.9.3" }, "engines": { "node": "^12.22.0 || >=14" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "release-it": { "plugins": { "release-it-lerna-changelog": { "infile": "CHANGELOG.md", "launchEditor": true } }, "git": { "tagName": "v${version}" }, "github": { "release": true, "tokenRef": "GITHUB_AUTH" } }, "volta": { "node": "14.19.0", "npm": "8.5.3" } }