From 7043cf4ae5484e77fbf3f4cbd97f1c9b3426d42c Mon Sep 17 00:00:00 2001 From: dig Date: Sun, 16 Aug 2020 11:35:11 +0200 Subject: [PATCH] README update + NPM command to publish --- README.md | 7 +++++++ package.json | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 06f8d03..2835a12 100644 --- a/README.md +++ b/README.md @@ -143,3 +143,10 @@ import { myAwesomeFunction3 } from 'myLib' myAwesomeFunction3({ 0: "first", 3: "forth", foo: true }) ``` +## Usage with managers + +### forever + +````bash +forver -c esm myScript --param option +``` diff --git a/package.json b/package.json index e56bc3e..5e59099 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,9 @@ "commandline" ], "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "push": "git push origin master", + "publish": "npm publish" }, "author": { "name": "Thomas Di Grégorio",