From 281d5345138793b5339cb4d80acca86f0a03614b Mon Sep 17 00:00:00 2001 From: Roberto Aloi Date: Mon, 1 Feb 2021 17:30:29 +0100 Subject: [PATCH] [#2] Add package script --- .github/workflows/build.yml | 2 -- package.json | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a67403b..8a95e42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,8 +24,6 @@ jobs: with: otp-version: 21.3 elixir-version: 1.11.3 - - name: Install vsce - run: yarn add vsce --dev - run: npm install - run: npm run compile - name: Package diff --git a/package.json b/package.json index c7bd5e7..c287bc3 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ }, "main": "./client/out/client.js", "scripts": { + "package": "vsce package --yarn", "test": "echo \"Error: no test specified\" && exit 1", "vscode:prepublish": "cd client && npm run compile", "compile": "cd erlang_ls && rebar3 escriptize && cd ../client && npm run compile",