npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mouflon

v0.4.1

Published

Capistrano-like deployments using pure javascript/yml syntax (with config upload, linked dirs, and past releases)

Downloads

15

Readme

Mouflon v0.4.0

js/yml tool that allows Capistrano-like automatic deployment with config upload, linked dirs, and past releases

How it works

...

Getting Started

Mouflon is still in an early stage of development and has only been tested on linux machines.

npm install mouflon --save-dev

Once Mouflon has been installed you need to create a main deployment file that you will later execute in order to deploy your application. You can name it anything you like and the most simple version looks like this.

//file: deploy.js
var MouflonFactory, factory, mouflon;

MouflonFactory = require('mouflon');

factory = MouflonFactory.createFromArgV();

mouflon = factory.createMouflon();

mouflon.deploy();

Add --v to the command for verbose mode

Directory structure

...

Customizations

Paths

There are four paths that can be customized inside your deploy.js. Make sure to do this before the mouflon instance is created using factory.createMouflon(). You can invoke MouflonFactory.setPaths() with one or more paths.

//Sets only the path for temporary files
factory.setPaths({
    temp:     './temp',
});

//Sets all paths:
factory.setPaths({
    config:   './config',
    settings: './settings',
    temp:     './temp',
    cache:    './cache'
});

Release History

  • 2014-11-17   v0.1.11    Initial public release on npm after mouflon was used internally for some time
  • 2014-12-01   v0.1.13    Added remote errors in stderr to the output
  • 2014-12-18   v0.2.1    Massive refactoring, shell now in silent mode, improved and indented log output, added --v flag
  • 2014-12-20   v0.2.1     Minor bug fixes
  • 2015-01-04   v0.2.3     Added gulp task
  • 2015-01-11   v0.2.4     Added tsd (typescript definitions from Definitely Typed) task
  • 2015-01-12   v0.2.5    Added support for git submodules
  • 2015-02-26   v0.2.6     Added configuration feature for dist subdirectories being deployed (instead of the whole project root)
  • 2015-06-03   v0.2.7    Added maven task (local)
  • 2015-11-06   v0.3.0    Now supports multiple hosts (and warns the deprecation of the old "host" server parameter)
  • 2015-11-06   v0.3.1    Bugfixes
  • 2015-11-08   v0.4.0-rc1   Switch from Grunt to tasky, switch to TypeScript 1.5 and ES2015 style code
  • 2015-11-09   v0.4.0-rc2   Fixed linkedFiles task
  • 2015-11-10   v0.4.0-rc3   Fixed linkedDirs task
  • 2015-11-13   v0.4.0   New release, no code changes to last RC
  • 2015-11-18   v0.4.1   Now creates parent directories automatically when creating directories

Maintained by Alexander Thiel