1.0.0 • Published 6 years ago

helloworldglobal v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Elves of santa 101, global packaging.

This repository is purposely kept simple as a hello world template to enable others to allow other elves to join team North-Pole and publish global packages.

This is one way to create a global package, in the future this repo will suport other global install implementations. If they exist.

The current implementation was sourced from: https://ourcodeworld.com/articles/read/393/how-to-create-a-global-module-for-node-js-properly

This program is helpful for an experiment that I am working on for my screensaver application: https://www.npmjs.com/package/aerial_desktop

Usage:

first put this in terminal

bangWithHammer() {
git clone --depth=1 https://github.com/michaeldimmitt/elves-of-santa-101-global-packaging.git $1;
cd $1;
npm login;
npm publish;

cd ~;
npm install -g $1;
};

Then run bangWithHammer for your application:

# Anything in < > field means enter your specific information
bangWithHammer <your application>

# run your the package after the npm install:
playWithPackageWrapping