diff --git a/packages/usb/.gitignore b/packages/usb/.gitignore new file mode 100644 index 00000000..849ddff3 --- /dev/null +++ b/packages/usb/.gitignore @@ -0,0 +1 @@ +dist/ diff --git a/packages/usb/package.json b/packages/usb/package.json index 2e87cd33..1eb0aa82 100644 --- a/packages/usb/package.json +++ b/packages/usb/package.json @@ -5,7 +5,8 @@ "main": "UhkConnection.js", "license": "GPL-3.0", "scripts": { - "build": "tsc" + "build": "tsc", + "watch": "tsc -w" }, "devDependencies": { "@types/node": "8.0.28", diff --git a/packages/usb/tsconfig.json b/packages/usb/tsconfig.json index 3206d971..96b94c46 100644 --- a/packages/usb/tsconfig.json +++ b/packages/usb/tsconfig.json @@ -8,6 +8,7 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es2016", + "outDir": "./dist", "typeRoots": [ "node_modules/@types" ],