10

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

kind_robot
  • 2,383
  • 4
  • 31
  • 45
  • I haven't had a chance to test this, so I'm not leaving it as an answer, but you may want to define the `jspm.main` property in your package.json file. See https://github.com/jspm/registry/wiki/Configuring-Packages-for-jspm#prefixing-configuration. – Andrew Odri Apr 27 '15 at 19:38

1 Answers1

12

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

"jspm": {
  "directories": {
    "packages": "new/path/to/jspm_packages"
  }
}
dev
  • 413
  • 3
  • 18
kind_robot
  • 2,383
  • 4
  • 31
  • 45