Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

purgecss-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

purgecss-cli - npm Package Compare versions

Comparing version
0.5.0
to
0.6.0
+11
-2
package.json
{
"name": "purgecss-cli",
"version": "0.5.0",
"version": "0.6.0",
"description": "CLI to remove unused CSS (TypeScript, cosmiconfig, interactive prompts, watch, minify, reports)",
"type": "module",
"bin": {
"prune-css": "dist/cli.cjs"
"purgecss-cli": "dist/cli.cjs"
},

@@ -19,2 +19,11 @@ "keywords": [

"license": "MIT",
"author": "Rashed Iqbal <dev.rashediqbal@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/iqbal-rashed/purgecss-cli.git"
},
"homepage": "https://github.com/iqbal-rashed/purgecss-cli#readme",
"bugs": {
"url": "https://github.com/iqbal-rashed/purgecss-cli/issues"
},
"scripts": {

@@ -21,0 +30,0 @@ "build": "tsup",

+4
-4

@@ -111,3 +111,3 @@ # purgecss-cli

# Dry run: calculate savings without writing files
npx prune-css -c "src/**/*" -s "dist/**/*.css" --dry-run
npx purgecss-cli -c "src/**/*" -s "dist/**/*.css" --dry-run
```

@@ -151,3 +151,3 @@

```bash
npx prune-css -c "app/**/*.{tsx,html}" -s ".next/static/css/*.css" --tailwind --watch
npx purgecss-cli -c "app/**/*.{tsx,html}" -s ".next/static/css/*.css" --tailwind --watch
```

@@ -166,3 +166,3 @@

"scripts": {
"prune:css": "prune-css --minify --rejected --report reports/prune.json"
"prune:css": "purgecss-cli --minify --rejected --report reports/prune.json"
}

@@ -221,3 +221,3 @@ }

| `--config` | `string` | Explicit path to config file |
| `--init` | `boolean` | Create `prune-css.config.json` scaffold |
| `--init` | `boolean` | Create `purgecss-cli.config.json` scaffold |
| `--verbose` | `boolean` | Extra logging |