-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
152 lines (152 loc) · 4.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "tslint-folders",
"version": "0.0.0-semantically-released",
"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": "[email protected]: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"
}
}
}