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

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

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2016 06:39PM UTC
Jobs 2
Files 11
Run time 33s
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
347

push

travis-ci

web-flow
Added sub-generator setup-env #278 (#308)

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

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 347.1 22 Nov 2016 06:40PM UTC 0
96.02
Travis Job 347.1
2 347.2 22 Nov 2016 06:39PM UTC 0
96.02
Travis Job 347.2
Source Files on build 347
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #347
  • 01855bd2 on github
  • Prev Build on master (#344)
  • Next Build on master (#355)
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

© 2025 Coveralls, Inc