From 357f2183b5cd9e2935be606e4c7c4dc5834b926e Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 20 Dec 2017 16:06:09 -0400 Subject: [PATCH] chore: add Concourse related NPM scripts (#1933) Our Electron Concourse pipeline is completely independent from the application its testing (ie we can apply it to any other Electron app we build with ease). In order to keep such genericity, the application under test should provide certain npm scripts that tell Concourse how to do specific tasks on the repo, like install dependencies, in a build-system independent fashion. Change-Type: patch Signed-off-by: Juan Cruz Viotti --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ad83837f..b1eaa6cb 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,10 @@ "postshrinkwrap": "node ./scripts/clean-shrinkwrap.js", "configure": "node-gyp configure", "build": "node-gyp build", - "install": "node-gyp rebuild" + "install": "node-gyp rebuild", + "concourse-dependencies": "make info && make electron-develop", + "concourse-test": "make lint test sanity-checks", + "concourse-build-installers": "make installers-all" }, "author": "Resin Inc. ", "license": "Apache-2.0",