aboutsummaryrefslogtreecommitdiff
path: root/installer/npm_install.cmd
blob: 852186929400c01569f7a60512ae19ffb231e61f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off

if "x%1" equ "x" goto :EOF
if "x%2" equ "x" goto :EOF

if not exist package.json (
	call npm init -y

	echo {"name":""}>package.json
)


call npm install "%2"

echo @echo off ^

call %%~dp0\node_modules\.bin\%1.cmd %%* ^

> %1.cmd