UNPKG

3.47 kBJSONView Raw
1{
2 "name": "tslint",
3 "version": "5.12.0",
4 "description": "An extensible static analysis linter for the TypeScript language",
5 "bin": {
6 "tslint": "./bin/tslint"
7 },
8 "main": "./lib/index.js",
9 "typings": "./lib/index.d.ts",
10 "repository": {
11 "type": "git",
12 "url": "https://github.com/palantir/tslint.git"
13 },
14 "keywords": [
15 "cli",
16 "typescript",
17 "linter"
18 ],
19 "homepage": "https://palantir.github.io/tslint",
20 "scripts": {
21 "clean": "npm-run-all -p clean:core clean:test",
22 "clean:core": "rimraf lib",
23 "clean:test": "rimraf build && rimraf test/config/node_modules",
24 "docs": "node scripts/buildDocs.js",
25 "compile": "npm-run-all -p compile:core compile:test -s compile:scripts",
26 "compile:core": "tsc -p src",
27 "compile:scripts": "tsc -p scripts",
28 "compile:test": "tsc -p test",
29 "lint": "npm-run-all -p lint:global lint:from-bin",
30 "lint:global": "tslint --project test/tsconfig.json --format stylish",
31 "lint:from-bin": "node bin/tslint --project test/tsconfig.json --format stylish",
32 "precommit": "npm-run-all precommit:prettier",
33 "precommit:prettier": "pretty-quick --staged",
34 "prettier": "prettier --write './**/*.{js,ts,css,scss,md,yml}' --ignore-path ./.prettierignore",
35 "publish:local": "./scripts/npmPublish.sh",
36 "test": "npm-run-all test:pre -p test:mocha test:rules",
37 "test:pre": "cd ./test/config && npm install --no-save",
38 "test:mocha": "mocha --reporter spec --colors \"build/test/**/*Tests.js\"",
39 "test:rules": "node ./build/test/ruleTestRunner.js",
40 "verify": "npm-run-all clean compile lint test docs",
41 "coverage": "rimraf coverage .nyc_output && nyc npm test"
42 },
43 "dependencies": {
44 "babel-code-frame": "^6.22.0",
45 "builtin-modules": "^1.1.1",
46 "chalk": "^2.3.0",
47 "commander": "^2.12.1",
48 "diff": "^3.2.0",
49 "glob": "^7.1.1",
50 "js-yaml": "^3.7.0",
51 "minimatch": "^3.0.4",
52 "resolve": "^1.3.2",
53 "semver": "^5.3.0",
54 "tslib": "^1.8.0",
55 "tsutils": "^2.27.2"
56 },
57 "peerDependencies": {
58 "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"
59 },
60 "devDependencies": {
61 "@types/babel-code-frame": "^6.20.0",
62 "@types/chai": "^3.5.0",
63 "@types/diff": "^3.2.0",
64 "@types/glob": "^5.0.30",
65 "@types/js-yaml": "^3.5.31",
66 "@types/minimatch": "^2.0.29",
67 "@types/mocha": "^2.2.35",
68 "@types/node": "^7.0.29",
69 "@types/resolve": "^0.0.4",
70 "@types/rimraf": "^2.0.2",
71 "@types/semver": "^5.3.30",
72 "chai": "^3.5.0",
73 "github": "^8.2.1",
74 "husky": "^0.14.3",
75 "json-stringify-pretty-compact": "^1.2.0",
76 "mocha": "^3.2.0",
77 "npm-run-all": "^4.0.2",
78 "nyc": "^10.2.0",
79 "prettier": "1.14.3",
80 "pretty-quick": "^1.6.0",
81 "rimraf": "^2.5.4",
82 "ts-node": "^3.3.0",
83 "tslint": "^5.8.0",
84 "tslint-config-prettier": "^1.13.0",
85 "tslint-test-config-non-relative": "file:test/external/tslint-test-config-non-relative",
86 "typescript": "~3.1.6"
87 },
88 "license": "Apache-2.0",
89 "engines": {
90 "node": ">=4.8.0"
91 }
92}