Questions tagged [jspm]

jspm is a package manager for the SystemJS universal module loader, built on top of the dynamic ES6 module loader.

With jspm load any module format (ES6, AMD, CommonJS and globals) directly from any endpoint such as npm and github with flat versioned dependency management. Any custom endpoints can be created through the Endpoint API.
For development, load modules as separate files with ES6 and plugins compiled in the browser.
For production, optimize into a bundle, layered bundles or a self-executing bundle with a single command.

546 questions
0
votes
1 answer

"development mode" with jsmp bundle-sfx

Is there any way to get jspm bundle-sfx to build without setting NODE_ENV to production? I'd like to set it to development for better error messages (specifically with React, which is defaulting to some 'minimized' production mode). Have tried this…
Aaron Yodaiken
  • 19,163
  • 32
  • 103
  • 184
0
votes
1 answer

How does ExpressJS determine if a requested resource is a "static" file?

I'm using JSPM to manage my client side dependencies and serving files using ExpressJS My Directory structure…
Simon
  • 29
  • 1
  • 3
0
votes
1 answer

Angular 2 + JSPM: not working as expected

I have Angular 2 (beta.6) installed using JSPM. When I then start my app I get the message of 'reflect-metadata' being required (see also Angular2 + Jspm.io : reflect-metadata shim is required when using class decorators). Installing this also via…
sebas2day
  • 2,013
  • 2
  • 15
  • 14
0
votes
1 answer

bigcommerce-stencil/citadel repo not found

I'm following the installation and setup instructions for stencil found here. Everything seems to have worked correctly until I run the jspm install command. Here is the output: $ jspm install Looking up npm:lodash Updating registry…
flyingL123
  • 7,686
  • 11
  • 66
  • 135
0
votes
1 answer

JSPM: Error locating github:component/global/archive/v2.0.1.tar.gz

I've spent the entire day trying to make jspm install a few libraries I'm required to as devDependencies. Unfortunately my frontend skills are not as good as my backend skills so that's why I'm asking for help. I'm trying to add the browser-sync…
DARKGuy
  • 843
  • 1
  • 12
  • 34
0
votes
2 answers

How to build bootstrap using jspm and bootstrap-sass

I'm just starting to dig into SASS, and trying to figure out how to build bootstrap from the bootstrap-sass module installed with jspm as a "dev dependency" - which I'm not sure is correct. I installed sass from ruby gems. Since I'm using jspm, do…
John Manko
  • 1,828
  • 27
  • 51
0
votes
1 answer

Use angular 1.5 component from module a in module b (using ES2015)

I'm trying to create a new setup for an app using jspm, systemjs and angular 1.5. I have a structure more or less like this: src common (pieces common to entire app, some services, images, etc) components (separate components of the app that…
0
votes
1 answer

Can I override a method in a JSPM package?

I'm migrating a project to use JSPM & SystemJS. In my app, I override a Backbone Marionette render method to use Mustache templates: Marionette.Renderer.render = function (template, data) { return Mustache.render(template, { Model: data },…
user888734
  • 3,797
  • 5
  • 36
  • 67
0
votes
1 answer

Using a custom Kendo-UI build with JSPM

I'm using KendoUI in my Aurelia application. So far, we are using the Grid control and the Autocomplete control. Attempting to import the Kendo objects through ES6 (using System.JS and the import statement) has worked well with Kendo.all.min.js, as…
user677526
0
votes
0 answers

jspm relative url for baseURL

I am starting to use jspm and I am having trouble with the baseURL property in config.js My application ends up at different sub-directories depending on the server its installed on (development, staging live, backup). So in config.js I can not give…
Rabbi
  • 4,622
  • 9
  • 35
  • 45
0
votes
0 answers

ng2-material fails on jspm bundle

After a lot of time, finally I just integrated ng2-material with angular2. However, when I bundle my app with the command below: jspm bundle-sfx --minify --inject app/boot public/build/bundle.js The bundle fails. This command it doesn't work since…
Khaeden
  • 65
  • 1
  • 6
0
votes
0 answers

Using Babel option blacklist to exclude es6.classes but getting Fatal error: Bundling failed. undefined during grunt build?

System.config({ defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime" ], "blacklist": ['es6.classes'], "nonStandard": false },.................. Added blacklist option but not getting desired result for: $…
0
votes
1 answer

System.registerDynamic is not a function

I upgraded jspm to 0.16.x. Normally, in dev mode it works fine. But whenever I do a jspm bundle and include that bundle file for production, I get this error: Uncaught TypeError: System.registerDynamic is not a function Need help understanding and…
Akash
  • 5,153
  • 3
  • 26
  • 42
0
votes
2 answers

How to import 'bootstrap-datetimepicker' into Aurelia project

I'm trying to add 'Eonasdan/bootstrap-datetimepicker' into an Aurelia with typescript project and call this.birthDateDatePicker.datetimepicker(); in the "attached" method from the Aurelia life-cycle. I added: import $ from 'jquery'; import…
0
votes
1 answer

jspm install to a different folder

I want jspm to install to a different directory (wwwroot), so it needs to put it's config.js and jspm_packages folder there. But I want config.js to not include wwwroot because when you're on the website, that is the root () and when it looks for…
Ryan Langton
  • 6,294
  • 15
  • 53
  • 103