UNPKG

5.71 kBJSONView Raw
1{
2 "name": "tslint-folders-diagrams",
3 "version": "3.0.0",
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 "git add"
16 ]
17 },
18 "config": {
19 "commitizen": {
20 "path": "node_modules/cz-conventional-changelog"
21 }
22 },
23 "jest": {
24 "transform": {
25 ".(ts|tsx)": "ts-jest"
26 },
27 "transformIgnorePatterns": [
28 "^.+\\.js$",
29 "^.+\\.json$"
30 ],
31 "testEnvironment": "node",
32 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
33 "moduleFileExtensions": [
34 "ts",
35 "tsx",
36 "js"
37 ],
38 "coveragePathIgnorePatterns": [
39 "/node_modules/",
40 "/test/",
41 "/testHarness/"
42 ],
43 "coverageThreshold": {
44 "global": {
45 "branches": 83,
46 "functions": 95,
47 "lines": 95,
48 "statements": 95
49 }
50 },
51 "collectCoverageFrom": [
52 "src/tslint-folders-diagrams.{js,ts}"
53 ],
54 "testPathIgnorePatterns": [
55 "/testHarness/",
56 "/node_modules/"
57 ]
58 },
59 "prettier": {
60 "semi": true,
61 "singleQuote": false
62 },
63 "commitlint": {
64 "extends": [
65 "@commitlint/config-conventional"
66 ]
67 },
68 "devDependencies": {
69 "@commitlint/cli": "^8.2.0",
70 "@commitlint/config-conventional": "^8.2.0",
71 "@types/jest": "^24.0.25",
72 "@types/lodash": "^4.14.149",
73 "@types/node": "^13.1.2",
74 "colors": "^1.4.0",
75 "commitizen": "^4.0.3",
76 "coveralls": "^3.0.9",
77 "cross-env": "^6.0.3",
78 "cz-conventional-changelog": "^3.0.2",
79 "husky": "^3.1.0",
80 "jest": "^24.9.0",
81 "jest-config": "^24.9.0",
82 "lint-staged": "^9.5.0",
83 "lodash.camelcase": "^4.3.0",
84 "prettier": "^1.19.1",
85 "prompt": "^1.0.0",
86 "replace-in-file": "^5.0.2",
87 "rimraf": "^3.0.0",
88 "semantic-release": "^15.14.0",
89 "ts-jest": "^24.2.0",
90 "ts-node": "^8.5.4",
91 "tslint": "^5.20.1",
92 "tslint-config-prettier": "^1.18.0",
93 "tslint-config-standard-sr": "^8.2.0",
94 "typedoc": "^0.15.6",
95 "typescript": "^3.7.4"
96 },
97 "peerDependencies": {},
98 "engines": {
99 "node": ">=10.18.0"
100 },
101 "scripts": {
102 "clean": "rm -rf dist/",
103 "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
104 "lint:local": "tslint --project tsconfig.json -t codeFrame",
105 "prebuild": "rimraf dist",
106 "build": "tsc --module commonjs && typedoc --out docs --target es6 --theme minimal --mode file src",
107 "build:minimal": "tsc --module commonjs",
108 "start": "yarn clean && yarn build && yarn test && yarn lint",
109 "test": "yarn build:minimal && yarn lint && yarn tsl:test && yarn test:unit && yarn test:itest",
110 "test:unit": "jest --coverage",
111 "test:itest": "yarn test:itest:simple && yarn test:itest:complex",
112 "test:itest:simple": "yarn docs:test && yarn docs:test-no-subfolders && yarn docs:test-dot && yarn docs:test-dot-no-subfolders",
113 "test:itest:complex": "./generate_graph_image_example.sh && ./generate_graph_image_example_shapes.sh && ./generate_graph_image_optimized_example.sh",
114 "test:watch": "jest --coverage --watch",
115 "test:prod": "yarn build && yarn lint && yarn test -- --no-cache",
116 "tsl:build-and-test": "yarn build && yarn tsl:test",
117 "tsl:test": "tslint --test test/rules/**/tslint.json",
118 "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",
119 "tsl:test-one": "tslint --test test/rules/tsf-folders-disabled-test/**/tslint.json",
120 "deploy-docs": "ts-node tools/gh-pages-publish",
121 "report-coverage": "cat ./coverage/lcov.info | coveralls",
122 "commit": "git-cz",
123 "semantic-release": "semantic-release",
124 "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
125 "docs": "node dist/lib/tools/docsGenerator/",
126 "docs:test": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Text",
127 "docs:test-no-subfolders": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Text -skipSubFolders",
128 "docs:test-dot": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Dot",
129 "docs:test-dot-no-subfolders": "node dist/lib/tools/docsGenerator/ ./tslint.tslint-folders.json Dot -skipSubFolders"
130 },
131 "repository": {
132 "type": "git",
133 "url": "https://github.com/mrseanryan/tslint-folders-diagrams.git"
134 },
135 "dependencies": {
136 "lodash": "^4.17.15",
137 "tslint-folders": "^4.0.0"
138 },
139 "keywords": [
140 "tslint",
141 "folders",
142 "checker",
143 "architecture",
144 "structure",
145 "analysis",
146 "disabled tests",
147 "static code analysis",
148 "code analysis",
149 "dependencies",
150 "diagram"
151 ],
152 "husky": {
153 "hooks": {
154 "pre-commit": "lint-staged",
155 "pre-push": "yarn test:prod"
156 }
157 }
158}