UNPKG

tslint-folders

Version:

Custom TSLint rules for checking imports between packages and their folders, and generating relevant diagrams.

153 lines (152 loc) 4.92 kB
{ "name": "tslint-folders", "version": "4.1.5", "description": "Custom TSLint rules for checking imports between packages and their folders, and generating relevant diagrams.", "main": "dist/lib/tslint-folders.js", "typings": "dist/types/tslint-folders.d.ts", "files": [ "dist" ], "author": "Sean Ryan <mr.sean.ryan(at)gmail.com>", "license": "MIT", "lint-staged": { "{src,test}/**/*.ts": [ "prettier --write" ] }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" } }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "transformIgnorePatterns": [ "^.+\\.js$", "^.+\\.json$" ], "testEnvironment": "node", "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/", "/testHarness/" ], "coverageThreshold": { "global": { "branches": 83, "functions": 95, "lines": 95, "statements": 95 } }, "collectCoverageFrom": [ "src/*.{js,ts}" ], "testPathIgnorePatterns": [ "/testHarness/", "/node_modules/" ] }, "prettier": { "semi": true, "singleQuote": false }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@types/jest": "^26.0.20", "@types/lodash": "^4.14.149", "@types/node": "^14.14.20", "colors": "^1.4.0", "commitizen": "^4.0.3", "coveralls": "^3.0.9", "cross-env": "^7.0.3", "cz-conventional-changelog": "^3.0.2", "husky": "^4.3.7", "jest": "^26.6.3", "jest-config": "^26.6.3", "lint-staged": "^10.5.3", "lodash.camelcase": "^4.3.0", "prettier": "^2.2.1", "prompt": "^1.0.0", "replace-in-file": "^6.1.0", "rimraf": "^3.0.0", "semantic-release": "^17.3.1", "ts-jest": "^26.4.4", "ts-node": "^9.1.1", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tslint-config-standard-sr": "^8.2.0", "typedoc": "^0.22.10", "typescript": "^4.1.3" }, "peerDependencies": { "tslint": ">=5.9.1 || >=^5.11.0", "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >=3.1.0-dev || >=3.2.0-dev || >=3.3.0-dev" }, "engines": { "node": ">=10.18.0" }, "scripts": { "clean": "rm -rf dist/", "lint": "tslint -p tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "lint:local": "tslint -p tsconfig.json -t codeFrame", "prebuild": "rimraf dist", "build": "tsc --module commonjs && typedoc --out docs src/tslint-folders.ts", "build:minimal": "tsc --module commonjs", "start": "yarn clean && yarn build && yarn test && yarn lint", "test": "yarn build:minimal && yarn lint && yarn tsl:test && yarn test:unit", "test:unit": "jest --coverage", "test:watch": "jest --coverage --watch", "test:prod": "yarn build && yarn lint && yarn test --no-cache", "tsl:build-and-test": "yarn build && yarn tsl:test", "tsl:test": "tslint --test test/rules/**/tslint.json", "tsl:test-one": "tslint --test test/rules/tsf-folders-imports-between-packages/**/tslint.json", "deploy-docs": "ts-node tools/gh-pages-publish", "report-coverage": "cat ./coverage/lcov.info | coveralls", "commit": "git-cz", "semantic-release": "semantic-release", "semantic-release-prepare": "ts-node tools/semantic-release-prepare" }, "repository": { "type": "git", "url": "git@github.com:mrseanryan/tslint-folders.git" }, "dependencies": { "lodash": "^4.17.15" }, "funding": "https://github.com/mrseanryan/tslint-folders?sponsor=1", "keywords": [ "tslint", "folders", "checker", "architecture", "structure", "analysis", "disabled tests", "static code analysis", "code analysis", "dependencies", "diagram" ], "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged", "pre-push": "yarn test:prod" } } }