build: Add watch script to usb module
This commit is contained in:
1
packages/usb/.gitignore
vendored
Normal file
1
packages/usb/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
dist/
|
||||||
@@ -5,7 +5,8 @@
|
|||||||
"main": "UhkConnection.js",
|
"main": "UhkConnection.js",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc"
|
"build": "tsc",
|
||||||
|
"watch": "tsc -w"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "8.0.28",
|
"@types/node": "8.0.28",
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"target": "es2016",
|
"target": "es2016",
|
||||||
|
"outDir": "./dist",
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"node_modules/@types"
|
"node_modules/@types"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user