purgecss-cli
Advanced tools
+11
-2
| { | ||
| "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 | |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
18343
1.84%0
-100%2
-33.33%2
-33.33%