From d5413612108a1b81a20137c6e6a7c7165c1c20f5 Mon Sep 17 00:00:00 2001 From: Horace Williams Date: Wed, 1 Aug 2018 20:34:51 -0700 Subject: [PATCH 1/2] Add executable for pelias NPM package --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d8bee5cb..143762a1 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "homepage": "https://github.com/pelias/api", "license": "MIT", "main": "index.js", + "bin": {"pelias": "./bin/start"}, "scripts": { "audit": "npm shrinkwrap; node node_modules/nsp/bin/nsp check; rm npm-shrinkwrap.json;", "ciao": "node node_modules/ciao/bin/ciao -c test/ciao.json test/ciao", From 8fea8ac5affcfd585fd1d03caf99b77be103402f Mon Sep 17 00:00:00 2001 From: Horace Williams Date: Thu, 2 Aug 2018 10:26:13 -0700 Subject: [PATCH 2/2] Use pelias-api as executable name --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 143762a1..9c6e977e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "homepage": "https://github.com/pelias/api", "license": "MIT", "main": "index.js", - "bin": {"pelias": "./bin/start"}, + "bin": "./bin/start", "scripts": { "audit": "npm shrinkwrap; node node_modules/nsp/bin/nsp check; rm npm-shrinkwrap.json;", "ciao": "node node_modules/ciao/bin/ciao -c test/ciao.json test/ciao",