UNPKG

check-package-usage

Version:

A CLI that checks how a package is used in your source; shows unused packages; which packages are used in CommonJS/ESM; and other insights about your packages.

69 lines (68 loc) 2.04 kB
{ "name": "check-package-usage", "version": "0.2.0", "description": "A CLI that checks how a package is used in your source; shows unused packages; which packages are used in CommonJS/ESM; and other insights about your packages.", "main": "dist/main.js", "files": [ "dist/" ], "bin": { "check-package-usage": "./dist/main.js" }, "dependencies": { "cac": "^6.7.3", "tslib": "^2.2.0" }, "devDependencies": { "@rollup/plugin-json": "^4.1.0", "@types/eslint": "^7.2.9", "@types/jest": "^26.0.22", "@types/mock-fs": "^4.13.0", "@types/node": "^14.14.41", "@types/prettier": "^2.2.3", "@typescript-eslint/eslint-plugin": "^4.21.0", "@typescript-eslint/parser": "^4.21.0", "concurrently": "^6.0.2", "eslint": "^7.24.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "jest": "^26.6.3", "mock-fs": "^4.13.0", "prettier": "^2.2.1", "rollup": "^2.45.1", "rollup-plugin-typescript2": "^0.30.0", "ts-jest": "^26.5.4", "ts-jest-resolver": "^1.0.0", "typescript": "^4.2.4" }, "scripts": { "test": "npm run test:lint && npm run test:unit", "test:lint": "eslint \"*/**/*.{ts,js,json}\"", "test:unit": "jest", "test:unit:watch": "jest --watch", "lint": "eslint \"*/**/*.{ts,js,json}\" --fix", "build": "rollup --config ./rollup.config.js", "build:watch": "rollup --config ./rollup.config.js --watch", "start": "concurrently \"npm:*:watch\"", "prepublishOnly": "npm run build && npm run test" }, "repository": { "type": "git", "url": "git+https://github.com/VitorLuizC/check-package-usage.git" }, "keywords": [ "package-analysis", "dependency-analysis", "unused-packages", "unused-dependencies", "cli" ], "author": { "name": "Vitor Luiz Cavalcanti" }, "license": "MIT", "bugs": { "url": "https://github.com/VitorLuizC/check-package-usage/issues" }, "homepage": "https://github.com/VitorLuizC/check-package-usage#readme" }