forked from microsoft/tslint-microsoft-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.41 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
{
"name": "tslint-microsoft-contrib",
"version": "6.2.0",
"description": "TSLint Rules for Microsoft",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/tslint-microsoft-contrib"
},
"author": "Hamlet D'Arcy",
"contributors": [
{
"name": "Bernd Kiefer",
"email": "[email protected]"
},
{
"name": "Daniel Manesku",
"email": "[email protected]"
},
{
"name": "Hamlet D'Arcy",
"email": "[email protected]"
},
{
"name": "Josh Goldberg",
"email": "[email protected]"
}
],
"bugs": {
"url": "https://github.com/Microsoft/tslint-microsoft-contrib/issues"
},
"main": "tslint.json",
"keywords": [
"tslint",
"microsoft",
"typescript"
],
"license": "MIT",
"analyze": true,
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,json,md}": [
"prettier --write",
"git add"
]
},
"scripts": {
"clean": "rimraf dist",
"copy:config-json": "node build-tasks/copy-config-json.js",
"copy:json": "cpy \"src/**/*.json\" dist --parents",
"copy:meta": "cpy README.md dist/build --parents",
"copy:package": "cpy \"**/*.js\" \"**/*.json\" \"!tests/**\" \"!references.js\" \"tests/TestHelper.js\" \"tests/TestHelper.d.ts\" ../build --cwd=\"dist/src\" --parents",
"create-rule": "node build-tasks/create-rule.js",
"generate:latest-config": "node build-tasks/generate-latest-config.js",
"generate:sdl-report": "node build-tasks/generate-sdl-report.js",
"generate:rule-metadata": "node build-tasks/generate-rule-metadata.js",
"generate:package-json-for-npm": "node build-tasks/generate-package-json-for-npm.js",
"lint:rules": "tslint -p tsconfig.json -t stylish -c tslint.json -e \"src/tests/**\" \"src/**/*.ts\"",
"lint:tests": "tslint -p tsconfig.json -t stylish -c src/tests/tslint.json -e src/tests/references.ts \"src/tests/**/*.ts\"",
"prettier": "prettier --write \"**/*.{js,ts,tsx,json,md}\"",
"start": "npm-run-all clean copy:json watch:src",
"test:mocha": "mocha \"dist/src/tests/**/*.js\" --timeout 5000",
"test:rules": "tslint -r dist/src --test \"tests/**\"",
"test": "npm-run-all clean copy:json tsc:src test:* tslint:check lint:* validate:* copy:package generate:* copy:meta copy:config-json",
"tsc:src": "tsc",
"tslint:check": "tslint-config-prettier-check ./tslint.json",
"validate:documentation": "node build-tasks/validate-documentation.js",
"validate:rules-order": "node build-tasks/validate-rules-order.js",
"watch:run-tests": "node build-tasks/watch-run-tests.js",
"watch:src": "tsc --watch"
},
"dependencies": {
"tsutils": "^2.27.2 <2.29.0"
},
"devDependencies": {
"@types/chai": "4.1.7",
"@types/mocha": "5.2.5",
"@types/node": "^10.12.0",
"chai": "4.2.0",
"chalk": "^2.4.1",
"chokidar": "^2.0.4",
"cpy-cli": "^2.0.0",
"glob": "^7.1.3",
"husky": "^1.1.3",
"inquirer": "^6.2.1",
"lint-staged": "^8.0.4",
"mkdirp": "^0.5.1",
"mocha": "5.2.0",
"npm-run-all": "^4.1.5",
"prettier": "1.15.0",
"rimraf": "^2.6.2",
"strip-json-comments": "^2.0.1",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "3.1.1",
"underscore": "1.9.1"
},
"peerDependencies": {
"tslint": "^5.1.0",
"typescript": "^2.1.0 || ^3.0.0"
}
}