Skip to content

Is there any way to run it using postinstall script. #16

Open
@sdharagit

Description

@sdharagit

In my scenario I do not want to publish the package . Instead I want to consume the library directly from the git repo to my project and build the library inside of node_modules with a post install script. I.e -

  • Library package :
"build:lib": "ng-packagr -p package.json",
 "postinstall": "npm run build:lib",
  • In my project package json -
"dependencies": {
 "lib": "github:libraryname#e578717489c921915f12e23a6d809c96c7dba7ed",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions