diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-18 11:36:07 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-18 11:36:07 +0800 |
commit | 3e8cb07bb9be5530b4ff69828c7e4ddc3a655df7 (patch) | |
tree | 01d26800cb130bff781e486e1f2c3cd7b1b2fe40 | |
parent | 5edd8cac4cb6ad7031f4e06602f1d3a47ac54140 (diff) | |
download | lua-language-server-3e8cb07bb9be5530b4ff69828c7e4ddc3a655df7.zip |
去掉后安装中的npm
-rw-r--r-- | package.json | 5 | ||||
-rw-r--r-- | server/publish.lua | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/package.json b/package.json index 2c57889b..cecf684e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "sumneko", "license": "MIT", "icon": "images/logo.png", - "version": "0.0.1", + "version": "0.0.2", "repository": { "type": "git", "url": "https://github.com/sumneko/vscode-lua-language-server" @@ -24,7 +24,6 @@ "scripts": { "vscode:prepublish": "cd client && npm run update-vscode && cd ..", "compile": "tsc -b", - "watch": "tsc -b -w", - "postinstall": "cd client && npm install && cd .." + "watch": "tsc -b -w" } } diff --git a/server/publish.lua b/server/publish.lua index 2985dd14..6bcb71c0 100644 --- a/server/publish.lua +++ b/server/publish.lua @@ -143,7 +143,7 @@ print(('复制了[%d]个文件'):format(count)) print('更新NodeModules...') -updateNodeModules(out, postinstall) +updateNodeModules(out, 'cd client && npm install && cd ..') print('开始测试...') runTest(out / 'server') |