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 <jv@jviotti.com>
This commit is contained in:
Juan Cruz Viotti 2017-12-20 16:06:09 -04:00 committed by GitHub
parent c586d9f54c
commit 357f2183b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. <hello@etcher.io>",
"license": "Apache-2.0",