uglify and other cleanup
This commit is contained in:
		
							parent
							
								
									6913426619
								
							
						
					
					
						commit
						06470d2db6
					
				
					 3 changed files with 0 additions and 55 deletions
				
			
		
							
								
								
									
										1
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -12,6 +12,5 @@ api:
 | 
			
		|||
    cargo build
 | 
			
		||||
clean:
 | 
			
		||||
    cargo clean
 | 
			
		||||
    rm -rf bld/
 | 
			
		||||
test:
 | 
			
		||||
    RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										37
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										37
									
								
								package.json
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,37 +0,0 @@
 | 
			
		|||
{
 | 
			
		||||
  "name": "zola-tailwind",
 | 
			
		||||
  "version": "0.1.0",
 | 
			
		||||
  "description": "A theme for Zola SSG built with tailwind css",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "uglify": "uglifyjs ./src/js/main.js --compress --mangle -o ./static/js/main.js && uglifyjs ./src/js/page.js --compress --mangle -o ./static/js/page.js && uglifyjs ./src/js/search.js --compress --mangle -o ./static/js/search.js && uglifyjs ./src/js/lang.js --compress --mangle -o ./static/js/lang.js",
 | 
			
		||||
    "watch": "NODE_ENV=development postcss ./src/css/main.css -o ./static/css/main.css -w --verbose",
 | 
			
		||||
    "dev": "npm run uglify && NODE_ENV=development postcss ./src/css/main.css -o ./static/css/main.css --verbose",
 | 
			
		||||
    "prod": "npm run uglify && NODE_ENV=production postcss ./src/css/main.css -o ./static/css/main.css --verbose"
 | 
			
		||||
  },
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/tchartron/zola-tailwind.git"
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "zola",
 | 
			
		||||
    "ssg",
 | 
			
		||||
    "theme",
 | 
			
		||||
    "tailwindcss",
 | 
			
		||||
    "tailwind",
 | 
			
		||||
    "tchartron"
 | 
			
		||||
  ],
 | 
			
		||||
  "author": "Thomas Chartron",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/tchartron/zola-tailwind/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://github.com/tchartron/zola-tailwind#readme",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "autoprefixer": "^10.4.20",
 | 
			
		||||
    "cssnano": "^7.0.6",
 | 
			
		||||
    "postcss": "^8.4.47",
 | 
			
		||||
    "postcss-cli": "^11.0.0",
 | 
			
		||||
    "tailwindcss": "^3.4.13",
 | 
			
		||||
    "uglify-js": "^3.19.3"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1233,13 +1233,6 @@
 | 
			
		|||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .hover\:bg-gray-900 {
 | 
			
		||||
    &:hover {
 | 
			
		||||
      @media (hover: hover) {
 | 
			
		||||
        background-color: var(--color-gray-900);
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .hover\:bg-indigo-400 {
 | 
			
		||||
    &:hover {
 | 
			
		||||
      @media (hover: hover) {
 | 
			
		||||
| 
						 | 
				
			
			@ -1333,11 +1326,6 @@
 | 
			
		|||
      background-color: var(--color-blue-900);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .focus\:bg-gray-900 {
 | 
			
		||||
    &:focus {
 | 
			
		||||
      background-color: var(--color-gray-900);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .focus\:ring {
 | 
			
		||||
    &:focus {
 | 
			
		||||
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
 | 
			
		||||
| 
						 | 
				
			
			@ -1360,11 +1348,6 @@
 | 
			
		|||
      --tw-ring-color: var(--color-blue-700);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .focus\:ring-gray-700 {
 | 
			
		||||
    &:focus {
 | 
			
		||||
      --tw-ring-color: var(--color-gray-700);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .focus\:ring-white {
 | 
			
		||||
    &:focus {
 | 
			
		||||
      --tw-ring-color: var(--color-white);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue