From: Jérôme Benoit Date: Wed, 4 Nov 2020 18:37:52 +0000 (+0100) Subject: Add build:clean script. X-Git-Tag: v1.0.1-0~216 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=861b1963e53295e2fa3be804ca9887ec388d0421;p=e-mobility-charging-stations-simulator.git Add build:clean script. Signed-off-by: Jérôme Benoit --- diff --git a/package-lock.json b/package-lock.json index 18124802..bb8226b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -414,17 +414,6 @@ "pump": "^3.0.0", "querystringify": "^2.1.0", "rimraf": "^3.0.2" - }, - "dependencies": { - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } } }, "@nearform/multistream": { @@ -2032,15 +2021,6 @@ "rc": "^1.2.8" } }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -3970,6 +3950,17 @@ "flatted": "^2.0.0", "rimraf": "2.6.3", "write": "1.0.3" + }, + "dependencies": { + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } } }, "flatted": { @@ -7481,9 +7472,9 @@ "dev": true }, "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { "glob": "^7.1.3" diff --git a/package.json b/package.json index 0ca5416e..3ee7ba42 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "start:flameprof": "clinic flame -- node -r source-map-support/register dist/start.js", "start:bubbleprof": "clinic bubbleprof -- node -r source-map-support/register dist/start.js", "build": "npm run tsc", + "build:clean": "rimraf ./dist", "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", "tsc": "tsc", @@ -60,6 +61,7 @@ "cross-env": "^7.0.2", "eslint": "^7.12.1", "npm-check": "^5.9.2", + "rimraf": "^3.0.2", "typescript": "^4.0.5" } } diff --git a/src/assets/configs-aws b/src/assets/configs-aws index 0e5f95f1..8e44c9a8 160000 --- a/src/assets/configs-aws +++ b/src/assets/configs-aws @@ -1 +1 @@ -Subproject commit 0e5f95f14441226fa1ff7958ced244090422ae42 +Subproject commit 8e44c9a891f78706e07b5e26a931b1061b265def