#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: tsc --moduleResolution node --target es5 --module commonjs --outDir cjs node -e 'require("fs").writeFileSync("cjs/package.json", "{\n\"type\": \"commonjs\"\n}\n");' tsc --moduleResolution node webpack