Remove jasmine from package.json and replace the preprocessors in the karma.conf
This library is set up to integrate with Coveralls io out of the box.
This boilerplate uses ESLint
to lint your source. To change the rules,
.eslintrc file in the root directory.
This is not supported simply because people have different needs of what to be replaced inline.
Yes, you have. Comparing to other boilerplates out there, this one are running phantomJS as default.
There are several options on how you can do this:
Add 'window' and 'document' to the Global section in the .eslintrc file, and then:
/* Globals: window, document */
In test cases, use window directly.
Easy. Edit gulpfile.js file, and change
You're authoring a library that exports a single file, and that one file exports a single variable.
As a rule of thumb, this transpiler works best in IE9+. You can support IE8 by limiting yourself to a subset of ES6 features. The Babel caveats page does an excellent job at explaining the nitty gritty details of supporting legacy browsers.
The primary source file for the library is
src/index.js. Only the files that this
file imports will be included in the final build. To change the name of this entry file:
MyLibrary is the name of the variable exported from this boilerplate. You can change this by following