Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.23 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.23 KB

NodeJS JavaScript NPM

image

keepr.js

KeeprJS is a NodeJS service/application plugin which allows developers to configure which files and folders to keep in build directory after compiling/building/bundling. This is useful when dealing with directories and files we generally need inside the build folder. While some features of configurations of some services, applications and frameworks do offer the way of keeping specific file/s inside the build, rarely do they offer the feature of keeping an whole folder within the build and this is where KeeprJS comes into the picture.

Usage

KeeprJS can be simply installed using:

npm install keepr-js

And then, set up an simple keepr.json configuration file:

{
    "target": "./build-folder",
    "paths": [
        "./folders-to-move"
    ]
}

And then, you can manually run keepr-js or create an postbuild script that includes running command keepr-js.