@kpdecker/linoleum-electron
Shared javascript build and testing infrastructure
Last updated 3 years ago by kpdecker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @kpdecker/linoleum-electron 
SYNC missed versions from official npm registry.

Linoleum-Electron

Electron build infrastructure for Linoleum projects.

Usage

Within Gulpfile.js:

// Init global state
var Linoleum = require('@kpdecker/linoleum');

// Include optional linoleum tasks
require('@kpdecker/linoleum-electron');

Defines:

  • webpack:electron task which builds the permutations of {main, renderer} x {production, test} configurations for this project.
  • cover:electron task which runs electron coverage tests.

Common issues

Electron

Electron tests need a similar setup to run under Travis:

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - sleep 3 # give xvfb some time to start

If not set this will generally result in a exit with error code 1 and no additional information.

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (7)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |