1.0.2 • Published 6 years ago

warify v1.0.2

Weekly downloads
17
License
MIT
Repository
-
Last release
6 years ago

warify

Create war for single page applications for Java EE 6 compliant servers.

Installation

yarn

yarn add warify --dev

npm

npm install warify --save-dev

Usage

JavaScript

const warify = require("warify");
warify(inputPath, outputPath, size => {
  const warPath = path;
});
// example: const warPath = warify("./", "./my-war.war, (size) => {
//    console.log(size + " bytes file");
// });

console.log(warPath);

CLI

warify <inputPath> <generated-war-name>
# outputs: war path

Building

Requirements

  • Node.js
  • Docker

Build

yarn
yarn dockerbuild

yarn build # to use maven instead of docker
1.0.2

6 years ago

1.0.0

6 years ago

0.1.18

6 years ago