build-dependencies-unjar

1.1.1 • Public • Published

Unjar build dependencies

This is an extension you can use to unjar the dependency jar files into your bin/classes directory. This is useful if you want to use npm as your build tool, e.g. to build your Java applications.

General usage

In order to use this script, create the following config properties in your package.json file (Note: config option dependencies_dest optional and defaults to 'lib'):

"config": {
    "dependencies_dest": "lib",
    "dependencies": [
      "some-dependency-3.4.5.jar"
    ]
}

Then the only thing you have to do is creating a scripts part in your package.json in order to collect the dependencies and add this extension into your dev-dependencies:

"devDependencies": {
    "build-dependencies-unjar": "^1.0.0"
},
"scripts": {
    "dependencies-unjar": "build-dependencies-unjar"
  }

/build-dependencies-unjar/

    Package Sidebar

    Install

    npm i build-dependencies-unjar

    Weekly Downloads

    4

    Version

    1.1.1

    License

    ISC

    Last publish

    Collaborators

    • mirhec