mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Add typescript
This commit is contained in:
parent
10f35d665f
commit
363d262c0a
1 changed files with 4 additions and 2 deletions
|
@ -168,14 +168,15 @@ ynh_system_user_create $app
|
||||||
# ...
|
# ...
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_install_nodejs 11
|
ynh_install_nodejs 8
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
npm install hoek@^4.2.1 --save
|
npm install hoek@^4.2.1 --save
|
||||||
npm install
|
npm install
|
||||||
npm audit fix
|
npm audit fix
|
||||||
npm install @types/node
|
npm install typescript@>=2.0 --save
|
||||||
|
npm install -g ts-node
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#npm audit fix
|
#npm audit fix
|
||||||
|
@ -184,6 +185,7 @@ popd
|
||||||
#npm install -g typescript
|
#npm install -g typescript
|
||||||
#npm install -g ts-node
|
#npm install -g ts-node
|
||||||
#npm install typescript@>=2.0 --save
|
#npm install typescript@>=2.0 --save
|
||||||
|
#npm install @types/node
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue