• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

react-webpack-generators / generator-react-webpack / 346
74%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2016 06:38PM UTC
Jobs 2
Files 11
Run time 26s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
346

Pull #308

travis-ci

web-flow
Added sub-generator setup-env #278

This subgen creates a new Webpack config environment by

- creating conf/webpack/<EnvName>.js
- creating src/config/<env_name>.js
- requiring and exporting the new env in conf/webpack/index.js

The commit introduces a basic config template that is supposed to be populated by the generator's users. Various more fine grained subgen options can be added at a later time (e.g. prompting the user if new run scripts should be added to package.json).

The subgen's basic functionality is backed up by unit tests that check

- if files are created
- if conf/webpack/index.js contains correct import/export
Pull Request #308: Added sub-generator setup-env #278

41 of 41 new or added lines in 3 files covered. (100.0%)

241 of 251 relevant lines covered (96.02%)

444.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
generators/setup-env/index.js
1
100.0
generators/setup-env/utils.js
Jobs
ID Job ID Ran Files Coverage
1 346.1 22 Nov 2016 06:39PM UTC 0
96.02
Travis Job 346.1
2 346.2 22 Nov 2016 06:38PM UTC 0
96.02
Travis Job 346.2
Source Files on build 346
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #346
  • Pull Request #308
  • PR Base - master (#344)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc