Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two more possible config files (jspm 0.17-beta.17) #158

Open
sergei-maertens opened this issue Jun 7, 2016 · 1 comment
Open

Two more possible config files (jspm 0.17-beta.17) #158

sergei-maertens opened this issue Jun 7, 2016 · 1 comment

Comments

@sergei-maertens
Copy link

The latest jspm version (0.17-beta.17, at the time of writing) adds support for more config files:

  • a separate config file for the devDependencies (jspm.dev.js for example)
  • a separate config file for Node environments

This brings all the config files to:

  • config: jspm.config.js
  • browser: jspm.browser.js
  • dev: jspm.dev.js
  • node: jspm.node.js (not sure about the default name here, haven't used it)

This would need to extra karma-jspm options, next to config and browser: dev and node.

If I can find the time, I should be able to make a PR for this.

sergei-maertens added a commit to maykinmedia/karma-jspm that referenced this issue Jun 7, 2016
@FredLoney
Copy link

FredLoney commented Jun 21, 2016

You might wish to amend the README as follows:

Clarify:

You may have named your jspm config.js file or jspm_packages directory something else. In this case simply add that to the jspm configuration in karma.conf.js:

to read:

If your jspm config file is not named config.js or your jspm package directory is not jspm_packages, then add your jspm locations to the jspm configuration in karma.conf.js, e.g.:

The standard jspm config file is now 'jspm.config.js', which must be set in the karma config in order for karma-jspm to pick it up. The README wording is a bit confusing after this jspm change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants