Files
vim-lsp-settings-mirror/installer/install-graphql-language-server.cmd
2021-10-05 03:48:19 +09:00

16 lines
253 B
Batchfile

@echo off
if not exist package.json (
call npm init -y
echo {"name":""}>package.json
)
call npm install "graphql-language-service-cli"
echo @echo off ^
call %%~dp0\node_modules\.bin\graphql-lsp %%* ^
> graphql-language-server.cmd