UNPKG

smartsh

Version:

Cross-shell command runner enabling Unix-style syntax on any OS.

57 lines (56 loc) 1.37 kB
{ "name": "smartsh", "version": "0.3.12", "main": "dist/index.js", "description": "Cross-shell command runner enabling Unix-style syntax on any OS.", "bin": { "smartsh": "dist/cli.js", "sm": "dist/cli.js" }, "scripts": { "build": "tsup src/index.ts src/cli.ts --format cjs,esm --sourcemap --dts --clean", "postbuild": "node -e \"const fs=require('fs'),p='dist/cli.js';if(fs.existsSync(p)){let s=fs.readFileSync(p,'utf8');if(!s.startsWith('#!'))fs.writeFileSync(p,'#!/usr/bin/env node\\n'+s)}\"", "dev": "tsup --watch", "test": "vitest run", "bump:patch": "node scripts/bump-patch.js", "lint": "tsc --noEmit", "prepublishOnly": "npm run build" }, "keywords": [ "cli", "shell", "cross-platform", "command-runner", "powershell", "cmd", "bash", "unix-commands", "pipeline", "npm-exec" ], "license": "MIT", "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.0.0" }, "engines": { "node": ">=14" }, "files": [ "dist", "README.md" ], "publishConfig": { "provenance": true }, "repository": { "type": "git", "url": "https://github.com/thegreatbey/smartsh.git" }, "devDependencies": { "@types/node": "^24.0.10", "esbuild": "^0.25.9", "tsup": "^8.1.1", "typescript": "^5.4.0", "vitest": "^3.2.4" } }