add Typescript support

This commit is contained in:
1computer1 2020-06-17 01:18:15 -04:00
parent ac5035b5c3
commit 4d9dff0b9a
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
FROM node:alpine
LABEL author="1Computer1"
RUN yarn global add typescript
COPY run.sh /var/run/

View File

@ -0,0 +1,2 @@
cat > program.ts
tsc --lib ESNext --target ES2019 --strict --skipLibCheck program.ts && cat program.js | node -p || true