Skip to content

Commit

Permalink
Update deps and slim down npm-scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Apr 26, 2015
1 parent 7da3ce8 commit cd5c8ed
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 24 deletions.
1 change: 1 addition & 0 deletions mocha-babel-hook.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require("babel/register")({
ignore: /node_modules/,
plugins: ["babel-plugin-espower"]
});
25 changes: 10 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@
"scripts": {
"clean": "rimraf lib coverage",
"lint": "eslint src",
"build": "npm-run-all clean lint build:babel",
"build:babel": "babel src --out-dir lib",
"test": "npm-run-all build test:mocha",
"test:mocha": "istanbul cover node_modules/mocha/bin/_mocha -- test/*.js --require mocha-babel-hook --timeout 30000 --colors",
"testing": "npm-run-all clean --parallel testing:*",
"testing:build": "npm run build:babel -- --watch --source-maps-inline",
"testing:mocha": "npm run test:mocha -- --watch --growl",
"build": "npm-run-all clean lint && babel src --out-dir lib",
"test": "npm run lint && istanbul cover node_modules/mocha/bin/_mocha -- test/*.js --require mocha-babel-hook --colors --timeout 30000",
"testing": "mocha test/*.js --require mocha-babel-hook --colors --timeout 30000 --watch --growl",
"coveralls": "cat coverage/lcov.info | coveralls",
"test-task:env-check": "node test/tasks/env-check.js",
"test-task:append": "node test/tasks/append.js",
Expand All @@ -33,21 +29,20 @@
"test-task:stdio": "node test/tasks/stdio.js"
},
"dependencies": {
"es6-promise": "^2.1.0",
"es6-promise": "^2.1.1",
"minimatch": "^2.0.4"
},
"devDependencies": {
"babel": "^5.1.10",
"babel-core": "^5.1.10",
"babel-plugin-espower": "^0.1.0",
"babel": "^5.1.13",
"babel-core": "^5.1.13",
"babel-plugin-espower": "^0.2.2",
"coveralls": "^2.11.2",
"eslint": "^0.19.0",
"eslint": "^0.20.0",
"istanbul": "^0.3.13",
"mocha": "^2.2.4",
"npm-run-all": "1.2.2",
"npm-run-all": "^1.2.3",
"power-assert": "^0.11.0",
"rimraf": "^2.3.2",
"shelljs": "^0.4.0"
"rimraf": "^2.3.2"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import assert from "power-assert";
import {result, removeResult, BufferStream} from "./lib/util";

// Test targets.
import runAll from "../lib/index";
import command from "../lib/command";
import runAll from "../src/index";
import command from "../src/command";

describe("npm-run-all", () => {
beforeEach(removeResult);
Expand Down
2 changes: 1 addition & 1 deletion test/mixed.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import assert from "power-assert";
import {result, removeResult} from "./lib/util";

// Test targets.
import command from "../lib/command";
import command from "../src/command";

describe("npm-run-all", () => {
beforeEach(removeResult);
Expand Down
4 changes: 2 additions & 2 deletions test/parallel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import assert from "power-assert";
import {result, removeResult} from "./lib/util";

// Test targets.
import runAll from "../lib/index";
import command from "../lib/command";
import runAll from "../src/index";
import command from "../src/command";

describe("npm-run-all", () => {
beforeEach(removeResult);
Expand Down
4 changes: 2 additions & 2 deletions test/pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import assert from "power-assert";
import {result, removeResult} from "./lib/util";

// Test targets.
import runAll from "../lib/index";
import command from "../lib/command";
import runAll from "../src/index";
import command from "../src/command";

describe("npm-run-all should run matched tasks if gived glob like patterns.", () => {
beforeEach(removeResult);
Expand Down
4 changes: 2 additions & 2 deletions test/sequential.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import assert from "power-assert";
import {result, removeResult} from "./lib/util";

// Test targets.
import runAll from "../lib/index";
import command from "../lib/command";
import runAll from "../src/index";
import command from "../src/command";

describe("npm-run-all", () => {
beforeEach(removeResult);
Expand Down

0 comments on commit cd5c8ed

Please sign in to comment.