UNPKG

clean-code-metrics

Version:
74 lines (73 loc) 1.91 kB
{ "name": "clean-code-metrics", "version": "0.0.12", "description": "metrics for clean code", "main": "./dist/index.js", "types": "./src/index.d.ts", "scripts": { "test": "jest", "test:watch": "jest --watchAll", "test:coverage": "jest --coverage", "build": "tsc", "format": "prettier --write ./**/*", "format:check": "prettier --check ./**/*", "lint": "eslint .", "dependencies:check": "ncu --errorLevel 2", "dependencies:update": "ncu --doctor -i --errorLevel 2", "testAll": "npm run format:check && npm run lint && npm run test:coverage", "precommit": "npm install && npm run build && npm run testAll && npm run dependencies:check && echo \"🎉 SUCCESSFULL PRECOMMIT 🎉\"" }, "repository": { "type": "git", "url": "git+https://github.com/Xanlantos/clean-code.git" }, "bin": { "ccm": "./dist/cli.js" }, "keywords": [ "metrics", "TODO", "FIXME" ], "author": "Xan & CO", "license": "SEE LICENSE IN LICENSE", "bugs": { "url": "https://github.com/Xanlantos/clean-code/issues" }, "homepage": "https://github.com/Xanlantos/clean-code#readme", "dependencies": { "chalk": "^4.1.1", "esprima-extract-comments": "^1.1.0", "gitignore-parser": "0.0.2", "node-dir": "^0.1.17", "yargs": "^17.0.0" }, "devDependencies": { "@types/gitignore-parser": "0.0.0", "@types/jest": "^26.0.23", "@types/node": "^15.0.1", "@types/node-dir": "0.0.33", "@types/yargs": "^16.0.1", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", "eslint": "^7.25.0", "husky": "^6.0.0", "jest": "^26.6.3", "jest-runner-eslint": "^0.10.0", "npm-check-updates": "^11.5.9", "prettier": "2.2.1", "ts-jest": "^26.5.5", "typescript": "^4.2.4" }, "prettier": { "semi": true, "useTabs": true, "trailingComma": "all" }, "cleanCodeMetrics": { "ignorePath": [ ".gitignore", "./src/TEST/.ccm.test.ignore" ] } }