From 59286ff3cbaed9a712bc6abaffb6faffa05fa2b1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 3 Oct 2016 02:40:37 -0700 Subject: [PATCH] style: prefix all test commands with "test-" It's a style I follow in all my packages... - test - test-node - test-browser - ... --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be5f7a3b..8ecc9d7d 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ $ npm test ### Run integration tests ``` -$ npm run integration-test +$ npm run test-integration ``` The integration tests use Spectron and Tape. They click through the app, taking screenshots and comparing each one to a reference. Why screenshots? diff --git a/package.json b/package.json index 779d4873..a265c154 100644 --- a/package.json +++ b/package.json @@ -99,12 +99,12 @@ "build": "buble src --output build", "clean": "node ./bin/clean.js", "gh-release": "gh-release", - "integration-test": "npm run build && node ./test", "open-config": "node ./bin/open-config.js", "package": "node ./bin/package.js", "prepublish": "npm run build", "start": "npm run build && electron .", "test": "standard && depcheck --ignores=buble,lodash.merge,nodemon,gh-release --ignore-dirs=build,dist && node ./bin/extra-lint.js", + "test-integration": "npm run build && node ./test", "update-authors": "./bin/update-authors.sh", "watch": "nodemon --exec \"npm run start\" --ext js,pug,css --ignore build/ --ignore dist/" }