UNPKG

6.58 kBJSONView Raw
1{
2 "name": "tslint-folders-diagrams",
3 "version": "3.1.7",
4 "description": "Generate architecture diagrams from the folder configuration of tslint-folders-diagrams.",
5 "main": "dist/lib/tslint-folders-diagrams.js",
6 "typings": "dist/types/tslint-folders-diagrams.d.ts",
7 "files": [
8 "dist"
9 ],
10 "author": "Sean Ryan <mr.sean.ryan(at)gmail.com>",
11 "license": "MIT",
12 "lint-staged": {
13 "{src,test}/**/*.ts": [
14 "prettier --write"
15 ]
16 },
17 "config": {
18 "commitizen": {
19 "path": "node_modules/cz-conventional-changelog"
20 }
21 },
22 "jest": {
23 "transform": {
24 ".(ts|tsx)": "ts-jest"
25 },
26 "transformIgnorePatterns": [
27 "^.+\\.js$",
28 "^.+\\.json$"
29 ],
30 "testEnvironment": "node",
31 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
32 "moduleFileExtensions": [
33 "ts",
34 "tsx",
35 "js"
36 ],
37 "coveragePathIgnorePatterns": [
38 "/node_modules/",
39 "/test/",
40 "/testHarness/"
41 ],
42 "coverageThreshold": {
43 "global": {
44 "branches": 83,
45 "functions": 95,
46 "lines": 95,
47 "statements": 95
48 }
49 },
50 "collectCoverageFrom": [
51 "src/tslint-folders-diagrams.{js,ts}"
52 ],
53 "testPathIgnorePatterns": [
54 "/testHarness/",
55 "/node_modules/"
56 ]
57 },
58 "prettier": {
59 "semi": true,
60 "singleQuote": false
61 },
62 "commitlint": {
63 "extends": [
64 "@commitlint/config-conventional"
65 ]
66 },
67 "devDependencies": {
68 "@commitlint/cli": "^11.0.0",
69 "@commitlint/config-conventional": "^11.0.0",
70 "@types/jest": "^26.0.20",
71 "@types/node": "^14.14.20",
72 "@types/lodash": "^4.14.149",
73 "colors": "^1.4.0",
74 "commitizen": "^4.0.3",
75 "coveralls": "^3.0.9",
76 "cross-env": "^7.0.3",
77 "cz-conventional-changelog": "^3.0.2",
78 "husky": "^4.3.7",
79 "jest": "^26.6.3",
80 "jest-config": "^26.6.3",
81 "lint-staged": "^10.5.3",
82 "lodash.camelcase": "^4.3.0",
83 "prettier": "^2.2.1",
84 "prompt": "^1.0.0",
85 "replace-in-file": "^6.1.0",
86 "rimraf": "^3.0.0",
87 "semantic-release": "^17.3.1",
88 "ts-jest": "^26.4.4",
89 "ts-node": "^9.1.1",
90 "tslint": "^6.1.3",
91 "tslint-config-prettier": "^1.18.0",
92 "tslint-config-standard-sr": "^8.2.0",
93 "typedoc": "^0.20.14",
94 "typescript": "^4.1.3"
95 },
96 "peerDependencies": {
97 "tslint": ">=5.9.1 || >=^5.11.0",
98 "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"
99 },
100 "engines": {
101 "node": ">=10.18.0"
102 },
103 "scripts": {
104 "clean": "rm -rf dist/",
105 "lint": "tslint -p tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
106 "lint:local": "tslint -p tsconfig.json -t codeFrame",
107 "prebuild": "rimraf dist",
108 "build": "tsc --module commonjs && typedoc --out docs --theme minimal src",
109 "build:minimal": "tsc --module commonjs",
110 "start": "yarn clean && yarn build && yarn test && yarn lint",
111 "test": "yarn build:minimal && yarn lint && yarn tsl:test && yarn test:unit && yarn test:itest",
112 "test:unit": "jest --coverage",
113 "test:itest": "yarn test:itest:simple && yarn test:itest:complex",
114 "test:itest:simple": "yarn docs:test && yarn docs:test-no-subfolders && yarn docs:test-dot && yarn docs:test-dot-no-subfolders",
115 "test:itest:complex": "./generate_graph_image_example.sh && ./generate_graph_image_example_shapes.sh && ./generate_graph_image_optimized_example_blacklist.sh && ./generate_graph_image_example_whitelist.sh",
116 "test:itest:update-snapshots": "./generate_graph_image_example.sh -update-snapshots && ./generate_graph_image_example_shapes.sh -update-snapshots && ./generate_graph_image_optimized_example_blacklist.sh -update-snapshots && ./generate_graph_image_example_whitelist.sh -update-snapshots",
117 "test:watch": "jest --coverage --watch",
118 "test:prod": "yarn build && yarn lint && yarn test --no-cache",
119 "tsl:build-and-test": "yarn build && yarn tsl:test",
120 "tsl:test": "tslint --test test/rules/**/tslint.json",
121 "tsl:test-with-diagrams": "tslint --test test/rules/**/tslint.json && yarn docs:test && yarn docs:test-no-subfolders && yarn docs:test-dot && yarn docs:test-dot-no-subfolders",
122 "tsl:test-one": "tslint --test test/rules/tsf-folders-disabled-test/**/tslint.json",
123 "deploy-docs": "ts-node tools/gh-pages-publish",
124 "report-coverage": "cat ./coverage/lcov.info | coveralls",
125 "commit": "git-cz",
126 "semantic-release": "semantic-release",
127 "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
128 "docs": "node dist/lib/tools/docsGenerator/",
129 "docs:test": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Text",
130 "docs:test-no-subfolders": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Text -skipSubFolders",
131 "docs:test-dot": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Dot",
132 "docs:test-dot-no-subfolders": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Dot -skipSubFolders"
133 },
134 "repository": {
135 "type": "git",
136 "url": "git@github.com:mrseanryan/tslint-folders-diagrams.git"
137 },
138 "dependencies": {
139 "lodash": "^4.17.15",
140 "tslint-folders": "^4.0.0"
141 },
142 "funding": "https://github.com/mrseanryan/tslint-folders-diagrams?sponsor=1",
143 "keywords": [
144 "tslint",
145 "folders",
146 "checker",
147 "architecture",
148 "structure",
149 "analysis",
150 "disabled tests",
151 "static code analysis",
152 "code analysis",
153 "dependencies",
154 "diagram"
155 ],
156 "husky": {
157 "hooks": {
158 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
159 "pre-commit": "lint-staged",
160 "pre-push": "yarn test:prod"
161 }
162 }
163}