Skip to content

calimaborges/warify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple package to generate SPA war compatible with Java EE

Resources

Stars

Watchers

Forks

Packages

No packages published