@rogue-zero/warify
v0.1.14
Published
Create war for single page applications for Java EE 6 compliant servers.
Downloads
4
Readme
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
- Java
- Maven
Build
yarn
yarn build