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

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

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2016 11:15AM UTC
Jobs 2
Files 11
Run time 21s
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
355

push

travis-ci

web-flow
Added support for configuring a className prefix (#310)

This feature allows users to put a `cssClsPrefix` property into their
.yo-rc.json. If configured, the component generator will add this string
as a prefix to className attributes.

Example:

	// .yo-rc.json
	{
	  "generator-react-webpack": {
	    "appName": "v4-latest-install",
	    "style": "css",
	    "cssmodules": false,
	    "cssClsPrefix": "myapp",
	    "postcss": false,
	    "generatedWithVersion": 4
	  }
	}

Components generated will now prepend the `myapp` prefix on their class
names, e.g.

	$ yo react-webpack:component hello
	<div className="myapp-hello-component" />

5 of 5 new or added lines in 2 files covered. (100.0%)

245 of 255 relevant lines covered (96.08%)

456.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 355.1 23 Nov 2016 11:16AM UTC 0
96.08
Travis Job 355.1
2 355.2 23 Nov 2016 11:15AM UTC 0
96.08
Travis Job 355.2
Source Files on build 355
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #355
  • 3c55a139 on github
  • Prev Build on master (#347)
  • Next Build on master (#356)
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