# grunt-execsyncs

> execsync grunt option, this plugin can be used in bath v0.10 and v0.11

Latest version **0.1.1** (published 2014-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install grunt-execsyncs
pnpm add grunt-execsyncs
yarn add grunt-execsyncs
bun add grunt-execsyncs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2014-07-26 |
| First published | 2014-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | yosuke-furukawa |
| Maintainers | yosuke-furukawa |
| Keywords | execsync, execSync, grunt, exec, shell, sync |

## Links

- npm: https://www.npmjs.com/package/grunt-execsyncs
- Repository: https://github.com/yosuke-furukawa/grunt-execsyncs
- Issues: https://github.com/yosuke-furukawa/grunt-execsyncs/issues
- npm.io page: https://npm.io/package/grunt-execsyncs

## Dependencies (1)

- [execsyncs](https://npm.io/package/execsyncs.md) ^0.1.1

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2014-07-26

## README

grunt-execsyncs
================

Grunt plugin for executing shell commands using execSync command.

[https://github.com/yosuke-furukawa/execsyncs](execsyncs) can execute shell commands synchronously.


How to use
--------------

## Getting Started
This plugin requires Grunt `~0.4.0`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```sh
$ npm install grunt-execsyncs -D
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-execsyncs');
```

*This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-coffee/tree/grunt-0.3-stable).*

## Configure

```js
'use strict';
  grunt.initConfig({
    execsyncs: {
      ls: {
        cmd: "ls > ./test/ls.txt",
      },
      ls2: {
        cmds: [
          "ls -al > ./test/ll.txt",
          "npm list > ./test/npm.txt",
        ],
      },
      rm: {
        cmds: [
          "rm ./test/ls.txt",
          "rm ./test/ll.txt",
          "rm ./test/npm.txt",
        ],
      }
    },
  });
  grunt.loadNpmTasks('grunt-execsyncs');
  grunt.registerTask('test', [
    'execsyncs:ls', 
    'execsyncs:ls2', 
    'execsyncs:rm'
  ]);

```

---
_Source: https://npm.io/package/grunt-execsyncs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
