Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change jspm_packages location

Is there a .bowerrc equivalent in jspm? When I run jspm install, I'd like jspm to install the packages to client/jspm_packages folder.

How can I configure jspm to change location of jspm_packages folder?

Thanks

like image 393
kind_robot Avatar asked Apr 27 '15 17:04

kind_robot


1 Answers

I found it. In your package.json, add the path into packages inside directories.

"jspm": {
  "directories": {
    "packages": "new/path/to/jspm_packages"
  }
}
like image 182
kind_robot Avatar answered Nov 09 '22 23:11

kind_robot