Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-shell

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-shell - npm Package Compare versions

Comparing version 0.7.0 to 1.0.0

11

package.json
{
"name": "grunt-shell",
"version": "0.7.0",
"version": "1.0.0",
"description": "Run shell commands",

@@ -29,13 +29,14 @@ "keywords": [

"dependencies": {
"chalk": "~0.4.0"
"chalk": "^0.5.1"
},
"devDependencies": {
"grunt": "~0.4.0"
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13"
},
"peerDependencies": {
"grunt": "~0.4.0"
"grunt": ">=0.4.0"
},
"engines": {
"node": ">=0.8.0"
"node": ">=0.10.0"
}
}

@@ -7,3 +7,5 @@ # grunt-shell [![Build Status](https://travis-ci.org/sindresorhus/grunt-shell.svg?branch=master)](https://travis-ci.org/sindresorhus/grunt-shell)

**Use [StackOverflow](http://stackoverflow.com/questions/tagged/gruntjs) for support questions.**
## Getting Started

@@ -13,3 +15,3 @@

```bash
```sh
$ npm install --save-dev grunt-shell

@@ -98,12 +100,15 @@ ```

```js
shell: {
hello: {
command: function (greeting) {
return 'echo ' + greeting;
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-shell');
grunt.initConfig({
shell: {
greet: {
command: function (greeting) {
return 'echo ' + greeting;
}
}
}
}
});
grunt.registerTask('default', ['shell:greet:hello']);
}
grunt.loadNpmTasks('grunt-shell');
grunt.registerTask('default', ['shell:hello']);
```

@@ -196,3 +201,3 @@

**Required**
Type: `String|Function`
Type: `string`, `function`

@@ -207,4 +212,4 @@ The command you want to run or a function which returns it. Supports underscore templates.

Type: `boolean`
Default: `true`
Type: `Boolean`

@@ -216,4 +221,4 @@ Show stdout in the Terminal.

Type: `boolean`
Default: `true`
Type: `Boolean`

@@ -225,4 +230,4 @@ Show stderr in the Terminal.

Default: `true`
Type: `Boolean`
Type: `boolean`
Default: `true`

@@ -234,4 +239,4 @@ Forward the terminal's stdin to the command.

Type: `boolean`
Default: `true`
Type: `Boolean`

@@ -243,4 +248,4 @@ Fail task if it encounters an error. Does not apply if you specify a `callback`.

Default: `function () {}`
Type: `Function`
Type: `function`
Default: `function () {}`

@@ -254,4 +259,3 @@ Lets you override the default callback with your own.

Default: `undefined`
Accepts: Object
Type: `object`

@@ -258,0 +262,0 @@ Specify some options to be passed to the [.exec()](http://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback) method:

@@ -56,2 +56,3 @@ 'use strict';

process.stdin.setEncoding('utf8');
process.stdin.setRawMode(true);
process.stdin.pipe(cp.stdin);

@@ -58,0 +59,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc