forked from rtfpessoa/codacy-tslint
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
236 lines (236 loc) · 9.23 KB
/
Copy pathpackage.json
File metadata and controls
236 lines (236 loc) · 9.23 KB
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"name": "codacy-tslint",
"version": "1.0.0",
"description": "Codacy wrapper to support TSLint analysis for Typescript",
"author": {
"name": "Rodrigo Fernandes",
"email": "rtfrodrigo@gmail.com"
},
"bin": {
"codacy-tslint": "build/main/index.js",
"codacy-docs": "build/main/codacy-docs.js"
},
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/src/index.js",
"repository": "https://github.com/codacy/codacy-tslint",
"license": "MIT",
"keywords": [],
"scripts": {
"info": "npm-scripts-info",
"docs:gen": "node build/main/codacy-docs.js",
"docker:login": "docker login -u $DOCKER_USER -p $DOCKER_PASS",
"docker:build": "docker build --no-cache --tag codacy/codacy-tslint:dev .",
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:tslint": "tslint --fix --project .",
"fix:markdown": "remark --rc-path .remarkrc.js *.md -o",
"test": "run-s build docs:gen test:*",
"test:tslint": "tslint --project .",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "nyc ava",
"lint": "run-s test:tslint && run-s test:prettier",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"cov": "run-s build test:unit cov:html && opn coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:send": "nyc report --reporter=lcov && cat coverage/lcov.info | codacy-coverage",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"doc": "run-s doc:html && opn build/docs/index.html",
"doc:html": "typedoc src/ --target ES6 --mode file --out build/docs",
"doc:json": "typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"version": "standard-version",
"reset": "git clean -dfx && git reset --hard && npm i",
"clean": "trash build test",
"all": "run-s reset test cov:check doc:html",
"prepare-release": "run-s all version doc:publish",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('codacy-tslint must be installed with Yarn: https://yarnpkg.com/')\""
},
"scripts-info": {
"info": "Display information about the package scripts",
"build": "Clean and rebuild the project",
"fix": "Try to automatically fix any linting problems",
"test": "Lint and unit test the project",
"watch": "Watch and rebuild the project on save, then rerun relevant tests",
"cov": "Rebuild, run tests, then create and open the coverage report",
"doc": "Generate HTML API documentation and open it in a browser",
"doc:json": "Generate API documentation in typedoc JSON format",
"version": "Bump package.json version, update CHANGELOG.md, tag release",
"reset": "Delete all untracked files and reset the repo to the last commit",
"prepare-release": "One-step: clean, build, test, publish docs, and prep a release"
},
"engines": {
"node": ">=8"
},
"dependencies": {
"@angular/compiler": "^6.1.10",
"@angular/core": "^6.1.10",
"codelyzer": "^4.5.0",
"fs-extra": "^7.0.0",
"glob": "^7.1.3",
"rxjs": "^6.3.3",
"tslint": "6.1.3",
"tslint-angular": "1.1.2",
"tslint-config-airbnb": "5.11.1",
"tslint-config-prettier": "1.18.0",
"tslint-config-semistandard": "7.0.0",
"tslint-config-standard": "8.0.1",
"tslint-eslint-rules": "5.4.0",
"tslint-immutable": "5.4.0",
"tslint-plugin-prettier": "2.0.1",
"tslint-react": "3.6.0",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@types/node": "^10.9.4",
"@types/trim": "^0.1.0",
"@types/vfile": "^2.2.2",
"ava": "1.0.0-beta.7",
"codacy-coverage": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"dictionary-en-us": "^2.0.0",
"gh-pages": "^1.2.0",
"markdown-extensions": "^1.1.1",
"npm-run-all": "^4.1.3",
"npm-scripts-info": "^0.3.9",
"nyc": "^12.0.2",
"opn-cli": "^3.1.0",
"prettier": "^1.14.2",
"remark": "^9.0.0",
"remark-cli": "^5.0.0",
"remark-frontmatter": "^1.2.1",
"remark-lint": "^6.0.2",
"remark-lint-alphabetize-lists": "^2.0.1",
"remark-lint-blank-lines-1-0-2": "^2.0.0",
"remark-lint-blockquote-indentation": "^1.0.2",
"remark-lint-checkbox-character-style": "^1.0.2",
"remark-lint-checkbox-content-indent": "^1.0.2",
"remark-lint-code": "^2.0.0",
"remark-lint-code-block-style": "^1.0.2",
"remark-lint-code-eslint": "^2.0.0",
"remark-lint-definition-case": "^1.0.2",
"remark-lint-definition-spacing": "^1.0.2",
"remark-lint-emphasis-marker": "^1.0.2",
"remark-lint-fenced-code-flag": "^1.0.2",
"remark-lint-fenced-code-marker": "^1.0.2",
"remark-lint-file-extension": "^1.0.2",
"remark-lint-final-definition": "^1.0.2",
"remark-lint-final-newline": "^1.0.2",
"remark-lint-first-heading-level": "^1.1.2",
"remark-lint-hard-break-spaces": "^1.0.3",
"remark-lint-heading-increment": "^1.0.2",
"remark-lint-heading-style": "^1.0.2",
"remark-lint-heading-whitespace": "^1.0.0",
"remark-lint-linebreak-style": "^1.0.2",
"remark-lint-link-title-style": "^1.0.2",
"remark-lint-list-item-bullet-indent": "^1.0.2",
"remark-lint-list-item-content-indent": "^1.0.2",
"remark-lint-list-item-indent": "^1.0.2",
"remark-lint-list-item-spacing": "^1.1.2",
"remark-lint-maximum-heading-length": "^1.0.2",
"remark-lint-maximum-line-length": "^1.1.0",
"remark-lint-no-auto-link-without-protocol": "^1.0.2",
"remark-lint-no-blockquote-without-marker": "^2.0.2",
"remark-lint-no-consecutive-blank-lines": "^1.0.2",
"remark-lint-no-dead-urls": "^0.4.1",
"remark-lint-no-duplicate-definitions": "^1.0.2",
"remark-lint-no-duplicate-headings": "^1.0.2",
"remark-lint-no-duplicate-headings-in-section": "^1.0.2",
"remark-lint-no-emphasis-as-heading": "^1.0.2",
"remark-lint-no-empty-sections": "^3.0.0",
"remark-lint-no-empty-url": "^1.0.3",
"remark-lint-no-file-name-articles": "^1.0.2",
"remark-lint-no-file-name-consecutive-dashes": "^1.0.2",
"remark-lint-no-file-name-irregular-characters": "^1.0.2",
"remark-lint-no-file-name-mixed-case": "^1.0.2",
"remark-lint-no-file-name-outer-dashes": "^1.0.3",
"remark-lint-no-heading-content-indent": "^1.0.2",
"remark-lint-no-heading-indent": "^1.0.2",
"remark-lint-no-heading-like-paragraph": "^1.0.2",
"remark-lint-no-heading-punctuation": "^1.0.2",
"remark-lint-no-html": "^1.0.2",
"remark-lint-no-inline-padding": "^1.0.2",
"remark-lint-no-literal-urls": "^1.0.2",
"remark-lint-no-missing-blank-lines": "^1.0.2",
"remark-lint-no-multiple-toplevel-headings": "^1.0.2",
"remark-lint-no-paragraph-content-indent": "^1.0.4",
"remark-lint-no-reference-like-url": "^1.0.2",
"remark-lint-no-shell-dollars": "^1.0.2",
"remark-lint-no-shortcut-reference-image": "^1.0.2",
"remark-lint-no-shortcut-reference-link": "^1.0.3",
"remark-lint-no-table-indentation": "^1.0.2",
"remark-lint-no-tabs": "^1.0.2",
"remark-lint-no-undefined-references": "^1.0.2",
"remark-lint-no-unused-definitions": "^1.0.2",
"remark-lint-ordered-list-marker-style": "^1.0.2",
"remark-lint-ordered-list-marker-value": "^1.0.2",
"remark-lint-rule-style": "^1.0.2",
"remark-lint-strong-marker": "^1.0.2",
"remark-lint-table-cell-padding": "^1.0.2",
"remark-lint-table-pipe-alignment": "^1.0.2",
"remark-lint-table-pipes": "^1.0.2",
"remark-lint-unordered-list-marker-style": "^1.0.2",
"remark-lint-write-good": "^1.0.3",
"remark-parse": "^5.0.0",
"remark-preset-lint-consistent": "^2.0.2",
"remark-preset-lint-markdown-style-guide": "^2.1.2",
"remark-preset-lint-recommended": "^3.0.2",
"remark-retext": "^3.1.1",
"remark-stringify": "^5.0.0",
"remark-validate-links": "^7.1.0",
"retext": "^5.0.0",
"retext-contractions": "^2.1.2",
"retext-diacritics": "^1.2.1",
"retext-english": "^3.0.0",
"retext-equality": "^3.4.1",
"retext-indefinite-article": "^1.1.4",
"retext-overuse": "^1.1.1",
"retext-passive": "^1.3.0",
"retext-profanities": "^4.4.0",
"retext-quotes": "^2.0.1",
"retext-readability": "^4.2.0",
"retext-redundant-acronyms": "^1.2.1",
"retext-repeated-words": "^1.2.1",
"retext-sentence-spacing": "^2.0.1",
"retext-spell": "^2.3.1",
"retext-syntax-urls": "^1.0.0",
"retext-usage": "^0.5.0",
"standard-version": "^4.4.0",
"strip-indent": "^2.0.0",
"trash-cli": "^1.4.0",
"trim": "^0.0.1",
"typedoc": "^0.12.0",
"typescript": "^4.1.3",
"unified": "^7.0.0",
"unified-engine": "^6.0.1",
"vfile": "^3.0.0",
"vfile-location": "^2.0.3",
"vfile-message": "^1.0.1",
"vfile-reporter": "^5.0.0"
},
"ava": {
"failFast": true,
"files": [
"build/main/**/*.spec.js"
],
"sources": [
"build/main/**/*.js"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
}
}