Reorganize ext build scripts and add linting

This commit is contained in:
hensm
2019-02-26 14:08:17 +00:00
parent 1e49fbe9be
commit 2014566cc4
9 changed files with 78 additions and 44 deletions

View File

@@ -51,9 +51,9 @@ async function build () {
spawnSync(`tsc --project ${ROOT_PATH} \
--outDir ${BUILD_PATH}`
, {
shell: true
, stdio: [ process.stdin, process.stdout, process.stderr ]
});
shell: true
, stdio: [ process.stdin, process.stdout, process.stderr ]
});
// Move tsc output to build dir
fs.moveSync(path.join(BUILD_PATH, "src"), BUILD_PATH);