{"action":"opened","issue":{"url":"https://api.github.com/repos/gulpsome/gulp-npm-run/issues/2","repository_url":"https://api.github.com/repos/gulpsome/gulp-npm-run","labels_url":"https://api.github.com/repos/gulpsome/gulp-npm-run/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gulpsome/gulp-npm-run/issues/2/comments","events_url":"https://api.github.com/repos/gulpsome/gulp-npm-run/issues/2/events","html_url":"https://github.com/gulpsome/gulp-npm-run/issues/2","id":133144246,"number":2,"title":"Question: Usage","user":{"login":"goodseller","id":1484676,"avatar_url":"https://avatars.githubusercontent.com/u/1484676?v=3","gravatar_id":"","url":"https://api.github.com/users/goodseller","html_url":"https://github.com/goodseller","followers_url":"https://api.github.com/users/goodseller/followers","following_url":"https://api.github.com/users/goodseller/following{/other_user}","gists_url":"https://api.github.com/users/goodseller/gists{/gist_id}","starred_url":"https://api.github.com/users/goodseller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodseller/subscriptions","organizations_url":"https://api.github.com/users/goodseller/orgs","repos_url":"https://api.github.com/users/goodseller/repos","events_url":"https://api.github.com/users/goodseller/events{/privacy}","received_events_url":"https://api.github.com/users/goodseller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-12T02:49:46Z","updated_at":"2016-02-12T02:49:46Z","closed_at":null,"body":"I am not pretty get it..\r\n\r\nIf I have a `npm run editor` script, is the gulp script become as follow and I can run gulp editor? Thanks.\r\n\r\n```\r\n'use strict';\r\nvar gulp = require('gulp-npm-run')(require('gulp'), {\r\n  exclude: ['editor'], // the test script is excluded\r\n  requireStrict: false,\r\n  npmRun: true // rather than `npm run script` gulp runs the script's value / command(s) \r\n});\r\n\r\ngulp.task('editor', (cb) => {\r\n  // other scripts\r\n});\r\n```\r\n\r\n"}}