2.0.0 • Published 3 years ago
has-script v2.0.0
If I should maintain this repo, please ⭐️
DM me on Twitter if you have questions or suggestions.
Installation
yarn add has-scriptnpm install has-scriptpnpm add has-scriptUsage
import { hasScript, hasScriptLike } from "has-script";
// Returns true if the exact match exists in the package.json script field.
function hasScript(name: string): Promise<boolean>;
// All strings that match the given RegExp.
function hasScriptLike(regex: RegExp): Promise<string[]>;- file-structure: Define and manage file structures
- autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.
MIT - The MIT License