From c11e6ebfd74989297db1a6a021a3a75ba1b3a388 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Wed, 15 Jan 2020 14:14:54 +0100 Subject: [PATCH] make executable --- index.js | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 05e97bc..e3101d1 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + /* eslint-disable no-console */ /* eslint-disable global-require */ /* eslint-disable no-sync */ diff --git a/package.json b/package.json index 2edaba2..d2dc22c 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.0.0", "description": "macros for setting up projects or project parts", "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "bin": { + "snippeteer": "./index.js" }, "repository": { "type": "git",