neoman-engine
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha044 • Public • Published

npm version Build Status Windows Build status dependencies Status devDependencies Status codecov

MIT License PRs Welcome Code of Conduct

Neoman engine

neoman - Old Saxon. None, nobody.

A template manager that intends to be nobody and nothing; it doesn't want to impose. Neoman knows that your code shouldn't have to become a project template, because it already is one. 😌

Basic Usage

Drop the following folder and file into your project, and Neoman will have all it needs.

MyProject/.neoman.config/template.json

or

.neoman.config/template.json MyProject/ (you can also put it in parallel and adjust the root attribute).

A minimal template.json would look like this:

{
    "name": "My Project Template",
    "description": "My useful project template will lead many to triumph.",
    "author": "Noh Body",
    "url": "https://en.wikipedia.org/wiki/Outis",
    "identity": "myprojtmp",
 
    "input": {
        "use": "prompt",
        "define": {
            "namespace": "What will the root namespace of your project be?"
        }
    },
 
    "transform": [
        { "subject": "my.project.namespace", "with": "{{namespace}}" }
    ],
 
    "#": "You don't need 'files' if you want the 'transform' and 'pathTransform' sections to apply to all files",
    "files": ["**/*.ts"]
}

Once your project is ready, setup a folder to store your templates, and copy the project folder there. Then, it's ready to use via neoman.io.

Documentation

For documentation, please refer to the wiki.

/neoman-engine/

    Package Sidebar

    Install

    npm i neoman-engine

    Weekly Downloads

    0

    Version

    1.0.0-alpha044

    License

    MIT

    Unpacked Size

    645 kB

    Total Files

    338

    Last publish

    Collaborators

    • cdibbs