Create Makefile

This commit is contained in:
khai96_ 2020-05-08 10:30:24 +07:00
parent 62b5904eb7
commit f529874a78

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
node_modules: package.json
pnpm install --prefer-offline
dist/tsc: node_modules src
pnpx tsc
dist/index.js: dist/tsc
pnpx ncc build --minify --source-map dist/tsc/index.js --out dist/