grunt-shell
Advanced tools
Comparing version 0.7.0 to 1.0.0
{ | ||
"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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6894
51
1
266
2
+ Addedansi-regex@0.2.1(transitive)
+ Addedansi-styles@1.1.04.3.0(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedarray-each@1.0.1(transitive)
+ Addedarray-slice@1.1.0(transitive)
+ Addedasync@3.2.6(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedchalk@0.5.14.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolors@1.1.2(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddateformat@4.6.3(transitive)
+ Addeddetect-file@1.0.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedexpand-tilde@2.0.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfindup-sync@4.0.05.0.0(transitive)
+ Addedfined@1.2.0(transitive)
+ Addedflagged-respawn@1.0.1(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfor-own@1.0.0(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgetobject@1.0.2(transitive)
+ Addedglob@7.1.7(transitive)
+ Addedglobal-modules@1.0.0(transitive)
+ Addedglobal-prefix@1.0.2(transitive)
+ Addedgrunt@1.6.1(transitive)
+ Addedgrunt-cli@1.4.3(transitive)
+ Addedgrunt-known-options@2.0.0(transitive)
+ Addedgrunt-legacy-log@3.0.0(transitive)
+ Addedgrunt-legacy-log-utils@2.1.0(transitive)
+ Addedgrunt-legacy-util@2.0.1(transitive)
+ Addedhas-ansi@0.1.0(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhomedir-polyfill@1.0.3(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedini@1.3.8(transitive)
+ Addedinterpret@1.1.0(transitive)
+ Addedis-absolute@1.0.0(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedis-relative@1.0.0(transitive)
+ Addedis-unc-path@1.0.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedkind-of@6.0.3(transitive)
+ Addedliftup@3.0.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmake-iterator@1.0.1(transitive)
+ Addedmap-cache@0.2.2(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedminimatch@3.0.8(transitive)
+ Addednopt@3.0.64.0.3(transitive)
+ Addedobject.defaults@1.1.0(transitive)
+ Addedobject.map@1.0.1(transitive)
+ Addedobject.pick@1.3.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedparse-filepath@1.0.2(transitive)
+ Addedparse-passwd@1.0.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-root@0.1.1(transitive)
+ Addedpath-root-regex@0.1.2(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedrechoir@0.7.1(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedresolve-dir@1.0.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsprintf-js@1.0.31.1.3(transitive)
+ Addedstrip-ansi@0.3.0(transitive)
+ Addedsupports-color@0.2.07.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedunc-path-regex@0.1.2(transitive)
+ Addedunderscore.string@3.3.6(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedv8flags@3.2.0(transitive)
+ Addedwhich@1.3.12.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedansi-styles@1.0.0(transitive)
- Removedargparse@0.1.16(transitive)
- Removedasync@0.1.22(transitive)
- Removedchalk@0.4.0(transitive)
- Removedcoffee-script@1.3.3(transitive)
- Removedcolors@0.6.2(transitive)
- Removeddateformat@1.0.2-1.2.3(transitive)
- Removedesprima@1.0.4(transitive)
- Removedfindup-sync@0.1.3(transitive)
- Removedgetobject@0.1.0(transitive)
- Removedglob@3.1.213.2.11(transitive)
- Removedgraceful-fs@1.2.3(transitive)
- Removedgrunt@0.4.5(transitive)
- Removedgrunt-legacy-log@0.1.3(transitive)
- Removedgrunt-legacy-log-utils@0.1.1(transitive)
- Removedgrunt-legacy-util@0.2.0(transitive)
- Removedhas-color@0.1.7(transitive)
- Removediconv-lite@0.2.11(transitive)
- Removedinherits@1.0.2(transitive)
- Removedjs-yaml@2.0.5(transitive)
- Removedlodash@0.9.22.4.2(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.2.140.3.0(transitive)
- Removednopt@1.0.10(transitive)
- Removedrimraf@2.2.8(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedstrip-ansi@0.1.1(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedunderscore.string@2.2.12.3.32.4.0(transitive)
- Removedwhich@1.0.9(transitive)
Updatedchalk@^0.5.1