Skip to content

Commit

Permalink
Chore: remove polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Dec 30, 2016
1 parent 3f933c3 commit 993df33
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 37 deletions.
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -33,8 +33,6 @@
"chalk": "^1.1.3",
"cross-spawn": "^4.0.0",
"minimatch": "^3.0.2",
"object-assign": "^4.0.1",
"pinkie-promise": "^2.0.1",
"ps-tree": "^1.0.1",
"read-pkg": "^1.1.0",
"read-pkg-up": "^1.0.1",
Expand Down
8 changes: 1 addition & 7 deletions src/bin/common/parse-cli-args.js
Expand Up @@ -7,12 +7,6 @@

/*eslint-disable no-process-env */

//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------

const assign = require("object-assign")

//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
Expand Down Expand Up @@ -67,7 +61,7 @@ function createPackageConfig() {
* @returns {void}
*/
function addGroup(groups, initialValues) {
groups.push(assign(
groups.push(Object.assign(
{parallel: false, patterns: []},
initialValues || {}
))
Expand Down
1 change: 0 additions & 1 deletion src/bin/common/version.js
Expand Up @@ -9,7 +9,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const readPkgUp = require("read-pkg-up").sync

//------------------------------------------------------------------------------
Expand Down
6 changes: 0 additions & 6 deletions src/bin/npm-run-all/help.js
Expand Up @@ -5,12 +5,6 @@
*/
"use strict"

//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")

//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion src/bin/npm-run-all/main.js
Expand Up @@ -9,7 +9,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const runAll = require("../../lib")
const parseCLIArgs = require("../common/parse-cli-args")

Expand Down
6 changes: 0 additions & 6 deletions src/bin/run-p/help.js
Expand Up @@ -5,12 +5,6 @@
*/
"use strict"

//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")

//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion src/bin/run-p/main.js
Expand Up @@ -9,7 +9,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const runAll = require("../../lib")
const parseCLIArgs = require("../common/parse-cli-args")

Expand Down
6 changes: 0 additions & 6 deletions src/bin/run-s/help.js
Expand Up @@ -5,12 +5,6 @@
*/
"use strict"

//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")

//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion src/bin/run-s/main.js
Expand Up @@ -9,7 +9,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const runAll = require("../../lib")
const parseCLIArgs = require("../common/parse-cli-args")

Expand Down
1 change: 0 additions & 1 deletion src/lib/index.js
Expand Up @@ -10,7 +10,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const shellQuote = require("shell-quote")
const matchTasks = require("./match-tasks")
const readPackageJson = require("./read-package-json")
Expand Down
1 change: 0 additions & 1 deletion src/lib/run-task.js
Expand Up @@ -11,7 +11,6 @@
//------------------------------------------------------------------------------

const chalk = require("chalk")
const Promise = require("pinkie-promise")
const parseArgs = require("shell-quote").parse
const padEnd = require("string.prototype.padend")
const createHeader = require("./create-header")
Expand Down
1 change: 0 additions & 1 deletion src/lib/run-tasks-in-parallel.js
Expand Up @@ -10,7 +10,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const NpmRunAllError = require("./npm-run-all-error")
const runTask = require("./run-task")

Expand Down
1 change: 0 additions & 1 deletion src/lib/run-tasks-in-sequencial.js
Expand Up @@ -10,7 +10,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const NpmRunAllError = require("./npm-run-all-error")
const runTask = require("./run-task")

Expand Down
1 change: 0 additions & 1 deletion test/lib/spawn-with-kill.js
Expand Up @@ -9,7 +9,6 @@
// Requirements
//------------------------------------------------------------------------------

const Promise = require("pinkie-promise")
const spawn = require("../../src/lib/spawn")

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion test/lib/util.js
Expand Up @@ -12,7 +12,6 @@
const cp = require("child_process")
const fs = require("fs")
const path = require("path")
const Promise = require("pinkie-promise")

//------------------------------------------------------------------------------
// Helpers
Expand Down

0 comments on commit 993df33

Please sign in to comment.