Add dev script to clear cache
This commit is contained in:
		
							parent
							
								
									d90294eb22
								
							
						
					
					
						commit
						16ef8cfb2e
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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==
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue