diff --git a/package.json b/package.json index 32bf4f4..3024b8f 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,16 @@ "license": "UNLICENCED", "scripts": { "start": "parcel index.html", - "bundle": "parcel build index.html" + "bundle": "parcel build index.html", + "clear": "npm run clear-dist && npm run clear-cache", + "clear-dist": "rimraf dist/*", + "clear-cache": "rimraf .cache/*" }, "devDependencies": { "autoprefixer": "^9.5.1", "marked": "^0.6.2", "parcel-bundler": "^1.12.3", + "rimraf": "^2.6.3", "sass": "^1.19.0" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 96f09c4..b4536b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4383,7 +4383,7 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -rimraf@^2.6.1, rimraf@^2.6.2: +rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==