Skip to content

Specify a custom installation directory for local package.json dependencies

License

Notifications You must be signed in to change notification settings

daluege/package-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package-directory

Lets you configure the path where local dependencies are installed. In NPM, the default is node_modules. Behaves similar to the .bowerrc "directory" property. Compatible to POSIX-compliant systems.

Installation

Install this package using NPM:

npm install package-directory --save-dev

Configuration

Add a "directory" to your package.json configuration as follows:

{
  "directory": "dist/modules"
}

Node modules will be placed in dist/modules relative to your package root.

Considerations

As the package depends on symbolic links, consider prefering to install this package as a devDependency.

License

MIT © 2016 Filip Dalüge (see license)

About

Specify a custom installation directory for local package.json dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published