This package has been deprecated

Author message:

Deprecated in favor of [postinstall](https://github.com/kapouer/postinstall)

postinstall-links

0.3.99 • Public • Published

postinstall-links

Create links to files in dependencies at npm postinstall

Usage

In package.json:


{
  scripts: {
    "postinstall": "postinstall-links"
  },
  dependencies: {
    "postinstall-links": "^1",
    "jquery": "^3",
    "flickity": "^2"
  },
  links: {
    "jquery/dist/jquery.slim.min.js": "public/",
    "jquery/dist/jquery.js": "public/jquery.dev.js",
    "flickity/dist/*": "public/flickity/"
  }

  • the first component of a link source path is the module name, it is replaced by the resolved path of the module directory.

  • the link source path can end with a (glob-compatible) wildcard, in which case all matched files are symlinked. In this case the destination path must end with a slash.

Package Sidebar

Install

npm i postinstall-links

Weekly Downloads

5

Version

0.3.99

License

MIT

Unpacked Size

10.6 kB

Total Files

19

Last publish

Collaborators

  • kapouer