Open letmaik opened 9 years ago
No demo project but I successfully applied it to one of my projects: https://github.com/Reading-eScience-Centre/leaflet-coverage
Key takeaways for me:
basePath: ''
."lib": "my-package-name"
under jspm.directories
.jspm: {loadFiles: ['test/**/*.js'],serveFiles: 'my-package-name/**/*.js'] }
.It works quite well. The only major downside is that the error stacktraces don't return original line numbers but the transpiled ones. I don't know how, but this should be fixed in some way. At least the transpiled files should not be deleted (or actually stored on disk if they are in-memory only) so that you can manually look into the transpiled code which actually is more or less readable! (related: #52)
here is another project https://github.com/martinmicunda/employee-scheduling-ui/blob/master/karma.conf.js
I've got a pull request open for this: https://github.com/Workiva/karma-jspm/pull/98
Here is a project boilerplate : https://github.com/topheman/vanilla-es6-jspm
Regarding karma-jspm
, you'll have the following features:
Please provide a minimal demo project which shows how to use this. Thanks! :)