UNPKG

unimported

Version:

Scans your nodejs project folder and shows obsolete files and modules

95 lines (94 loc) 2.64 kB
{ "name": "unimported", "version": "1.31.1", "description": "Scans your nodejs project folder and shows obsolete files and modules", "main": "./dist/index.js", "bin": { "unimported": "bin/unimported.js" }, "source": "./src/index.ts", "license": "MIT", "author": "Stephan Meijer <stephan@meijer.ws>", "repository": { "type": "git", "url": "git+https://github.com/smeijer/unimported.git" }, "scripts": { "build": "rimraf ./dist && tsc", "lint": "tsc --noEmit && eslint 'src/**/*.ts' --quiet --fix", "prepare": "npm run build", "run": "npm run build && node ./dist/index.js", "test": "jest", "ci:lint": "eslint -c ./.eslintrc.js", "ci:tsc": "tsc --noEmit --project ./tsconfig.json", "bump:patch": "npm version patch -m 'release: cut the %s release'", "bump:minor": "npm version minor -m 'release: cut the %s release'", "bump:major": "npm version major -m 'release: cut the %s release'", "_postinstall": "husky install && patch-package", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, "files": [ "dist", "bin" ], "keywords": [ "nodejs", "cli", "analysis" ], "dependencies": { "@typescript-eslint/parser": "^6.7.3", "@typescript-eslint/typescript-estree": "^6.7.3", "chalk": "^4.1.0", "cosmiconfig": "^8.3.6", "debug": "^4.3.2", "file-entry-cache": "^6.0.1", "flow-remove-types": "2.156.0", "glob": "^7.1.6", "ignore": "^5.2.4", "json5": "^2.2.0", "ora": "^5.3.0", "read-pkg-up": "^7.0.1", "resolve": "^1.20.0", "simple-git": "^3.18.0", "term-size": "^2.2.1", "typescript": "^5.2.2", "yargs": "^16.2.0" }, "devDependencies": { "@types/file-entry-cache": "^5.0.1", "@types/flat-cache": "^2.0.0", "@types/glob": "^7.1.3", "@types/jest": "^26.0.20", "@types/jest-in-case": "^1.0.3", "@types/node": "^14.14.31", "@types/resolve": "^1.20.1", "@types/yargs": "^16.0.0", "@typescript-eslint/eslint-plugin": "^6.7.3", "console-testing-library": "0.6.0", "eslint": "^7.20.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "husky": "^5.1.1", "jest": "^29.1.1", "jest-in-case": "^1.0.2", "jest-partial": "^1.0.1", "lint-staged": "^13.2.1", "nodemon": "^3.0.1", "patch-package": "^6.4.7", "pinst": "^2.1.6", "prettier": "^2.2.1", "rimraf": "^3.0.2", "ts-jest": "^29.1.1", "ts-node": "^10.9.1" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "engines": { "node": ">=16.0.0" } }