diff --git a/package.json b/package.json index a6148f9..929f2bb 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "node-poweredup", - "version": "1.4.6", + "version": "1.4.7", "description": "A Node.js module to interface with LEGO Powered UP components.", "homepage": "https://github.com/nathankellenicki/node-poweredup/", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "tslint -c tslint.json \"*.ts\" && tsc", + "build": "tslint -c tslint.json \"src/*.ts\" && tsc", "docs": "jsdoc2md dist/consts.js dist/poweredup.js dist/lpf2hub.js dist/wedo2smarthub.js dist/boostmovehub.js dist/puphub.js dist/pupremote.js dist/duplotrainbase.js dist/hub.js dist/consts.js > DOCS.md", "readme": "cat ABOUT.md DOCS.md > README.md", "all": "npm run build && npm run docs && npm run readme", diff --git a/boostmovehub.ts b/src/boostmovehub.ts similarity index 100% rename from boostmovehub.ts rename to src/boostmovehub.ts diff --git a/consts.ts b/src/consts.ts similarity index 100% rename from consts.ts rename to src/consts.ts diff --git a/duplotrainbase.ts b/src/duplotrainbase.ts similarity index 100% rename from duplotrainbase.ts rename to src/duplotrainbase.ts diff --git a/hub.ts b/src/hub.ts similarity index 100% rename from hub.ts rename to src/hub.ts diff --git a/index.ts b/src/index.ts similarity index 100% rename from index.ts rename to src/index.ts diff --git a/lpf2hub.ts b/src/lpf2hub.ts similarity index 100% rename from lpf2hub.ts rename to src/lpf2hub.ts diff --git a/port.ts b/src/port.ts similarity index 100% rename from port.ts rename to src/port.ts diff --git a/poweredup.ts b/src/poweredup.ts similarity index 100% rename from poweredup.ts rename to src/poweredup.ts diff --git a/puphub.ts b/src/puphub.ts similarity index 100% rename from puphub.ts rename to src/puphub.ts diff --git a/pupremote.ts b/src/pupremote.ts similarity index 100% rename from pupremote.ts rename to src/pupremote.ts diff --git a/utils.ts b/src/utils.ts similarity index 100% rename from utils.ts rename to src/utils.ts diff --git a/wedo2smarthub.ts b/src/wedo2smarthub.ts similarity index 100% rename from wedo2smarthub.ts rename to src/wedo2smarthub.ts diff --git a/tsconfig.json b/tsconfig.json index 9d0d4a0..7804c98 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ // "sourceMap": true, /* Generates corresponding '.map' file. */ // "outFile": "./", /* Concatenate and emit output to single file. */ "outDir": "./dist", /* Redirect output structure to the directory. */ - // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "composite": true, /* Enable project compilation */ // "removeComments": true, /* Do not emit comments to output. */ // "noEmit": true, /* Do not emit outputs. */