7.2.0 • Published 10 months ago
unused-package-remover v7.2.0
UNUSED PACKAGE REMOVER
Project aimed at automating the removal of unused imports and requires from specified files and also unused packages from package.json.
Installation
Install unused-package-remover with npm
npm install unused-package-remover -D
Interaction
If you want to enter multiple regex's during interaction process do so by seperating them with commas(,)
For example :
Enter File Path Regex to ignore : */src/*, */component/*, */index.js
Configuration
You can configure Eslint, Putout, Babel files according to your preference by changing them from the path
./node_modules/unused-package/remover/
Scripts
Add root script in your package.json file under "scripts" section :
"scripts": {
"script": "python3 ./node_modules/unused-package-remover/first.py",
}
Usage
In the terminal run :
npm run script
7.2.0
10 months ago
7.1.0
10 months ago
7.0.0
10 months ago
6.10.0
10 months ago
6.9.0
10 months ago
6.8.0
10 months ago
6.7.0
10 months ago
6.6.0
10 months ago
6.5.0
10 months ago
6.4.0
10 months ago
6.3.0
10 months ago
6.2.0
10 months ago
6.1.0
10 months ago
6.0.0
10 months ago
5.10.0
10 months ago
5.9.0
10 months ago
5.8.0
10 months ago
5.7.0
10 months ago