diff --git a/packages/aura-language-server/bin/aura-language-server.js b/packages/aura-language-server/bin/aura-language-server.js new file mode 100755 index 00000000..3b4bd9ba --- /dev/null +++ b/packages/aura-language-server/bin/aura-language-server.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +require('../lib/server.js'); diff --git a/packages/aura-language-server/package.json b/packages/aura-language-server/package.json index d295131d..cc6007e1 100644 --- a/packages/aura-language-server/package.json +++ b/packages/aura-language-server/package.json @@ -9,6 +9,9 @@ "type": "git", "url": "https://github.com/forcedotcom/lightning-language-server.git" }, + "bin": { + "aura-language-server": "bin/aura-language-server.js" + }, "scripts": { "clean": "rm -rf lib", "cleanTestData": "node ../../scripts/removeTestData.js", diff --git a/packages/lwc-language-server/bin/lwc-language-server.js b/packages/lwc-language-server/bin/lwc-language-server.js new file mode 100755 index 00000000..3b4bd9ba --- /dev/null +++ b/packages/lwc-language-server/bin/lwc-language-server.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +require('../lib/server.js'); diff --git a/packages/lwc-language-server/package.json b/packages/lwc-language-server/package.json index a7c4cfab..3b74faa3 100644 --- a/packages/lwc-language-server/package.json +++ b/packages/lwc-language-server/package.json @@ -8,6 +8,9 @@ "type": "git", "url": "https://github.com/forcedotcom/lightning-language-server.git" }, + "bin": { + "lwc-language-server": "./bin/lwc-language-server.js" + }, "scripts": { "clean": "rm -rf lib && rm -rf src/resources/sfdx/typings/copied", "cleanTestData": "node ../../scripts/removeTestData.js",