4 "description": "An extensible static analysis linter for the TypeScript language",
6 "tslint": "./bin/tslint"
8 "main": "./lib/index.js",
9 "typings": "./lib/index.d.ts",
11 "clean": "npm-run-all -p clean:core clean:test",
12 "clean:core": "rimraf lib",
13 "clean:test": "rimraf build && rimraf test/config/node_modules",
14 "docs": "node scripts/buildDocs.js",
15 "compile": "npm-run-all -p compile:core compile:test -s compile:scripts",
16 "compile:core": "tsc -p src",
17 "compile:scripts": "tsc -p scripts",
18 "compile:test": "tsc -p test",
19 "lint": "npm-run-all -p lint:from-installed lint:from-bin",
20 "lint:from-bin": "node bin/tslint --project test/tsconfig.json --format codeFrame",
21 "lint:from-installed": "tslint --project test/tsconfig.json --format codeFrame",
22 "lint-fix": "yarn lint:from-installed --fix",
23 "publish:local": "./scripts/npmPublish.sh",
24 "test": "npm-run-all test:pre -p test:mocha test:rules",
25 "test:pre": "cd ./test/config && npm install --no-save",
26 "test:mocha": "mocha --reporter spec --colors \"build/test/**/*Tests.js\"",
27 "test:rules": "node ./build/test/ruleTestRunner.js",
28 "verify": "npm-run-all clean compile lint test docs",
29 "coverage": "rimraf coverage .nyc_output && nyc npm test"
32 "@babel/code-frame": "^7.0.0",
33 "builtin-modules": "^1.1.1",
35 "commander": "^2.12.1",
39 "minimatch": "^3.0.4",
47 "typescript": ">=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"
50 "@octokit/rest": "^16.24.3",
51 "@types/babel__code-frame": "^7.0.1",
52 "@types/chai": "^3.5.0",
53 "@types/diff": "^3.2.0",
54 "@types/glob": "^5.0.30",
55 "@types/js-yaml": "^3.5.31",
56 "@types/minimatch": "^2.0.29",
57 "@types/mkdirp": "^0.5.2",
58 "@types/mocha": "^5.2.6",
59 "@types/node": "^7.0.29",
60 "@types/resolve": "^0.0.4",
61 "@types/rimraf": "^2.0.2",
62 "@types/semver": "^5.3.30",
65 "json-stringify-pretty-compact": "^1.2.0",
67 "npm-run-all": "^4.0.2",
69 "prettier": "~1.16.4",
73 "tslint-config-prettier": "^1.18.0",
74 "tslint-plugin-prettier": "^2.0.1",
75 "tslint-test-config-non-relative": "file:test/external/tslint-test-config-non-relative",
76 "typescript": "~3.4.0",
77 "yarn-deduplicate": "^1.1.1"
82 "homepage": "https://palantir.github.io/tslint",
85 "url": "https://github.com/palantir/tslint.git"
92 "license": "Apache-2.0"