diff --git a/app/index.js b/app/index.js index 6dc50c9..a789401 100644 --- a/app/index.js +++ b/app/index.js @@ -74,7 +74,7 @@ module.exports = class extends Generator { this._copyStatic('Dockerfile.arm32v7.debug'); this._copyTemplate('module.json', { repository: this.repository }); - this._copyTemplate('package.json', { name: this.name }); + this._copyTemplate('package.json', { name: this.name.toLowerCase() }); } _copyStatic(from, to = undefined) { diff --git a/package-lock.json b/package-lock.json index 948a2e9..01c1157 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "generator-azure-iot-edge-module", - "version": "1.3.0", + "version": "1.4.0-rc1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b0a0d3c..02e82d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-azure-iot-edge-module", - "version": "1.3.0", + "version": "1.4.0-rc1", "description": "Yeoman generator for Azure IoT Edge Node.js module", "files": [ "app" diff --git a/test/assets/package.json b/test/assets/package.json index aaaf89d..3306905 100644 --- a/test/assets/package.json +++ b/test/assets/package.json @@ -1,5 +1,5 @@ { - "name": "TestModule", + "name": "testmodule", "version": "0.0.1", "dependencies": { "azure-iot-device": "^1.7.0",