From d258b44f211738284a5d1144d75a359a6bd1b515 Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Mon, 23 Nov 2020 22:46:47 +0530 Subject: [PATCH] chore(tooling): Disables source maps @Prod --- package-lock.json | 26 +++++++++++++++++++++++--- package.json | 2 ++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ca9620..326d6fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1431,6 +1431,14 @@ "requires": { "minimist": "^1.2.5" } + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } } } }, @@ -5113,6 +5121,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": { @@ -11450,9 +11469,10 @@ "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=" }, "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 1feab87..2e9a813 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,13 @@ }, "devDependencies": { "babel-eslint": "^10.1.0", + "rimraf": "^3.0.2", "standard": "^15.0.1" }, "scripts": { "start": "parcel src/index.html", "build": "parcel build --public-url '.' src/index.html", + "postbuild": "rimraf dist/**/*.map", "lint": "standard" }, "keywords": [