2017-05-28 00:38:50 +02:00
|
|
|
{
|
|
|
|
"name": "tslint",
|
2017-08-14 05:01:11 +02:00
|
|
|
"version": "5.6.0",
|
2017-05-28 00:38:50 +02:00
|
|
|
"description": "An extensible static analysis linter for the TypeScript language",
|
|
|
|
"bin": {
|
|
|
|
"tslint": "./bin/tslint"
|
|
|
|
},
|
|
|
|
"main": "./lib/index.js",
|
|
|
|
"typings": "./lib/index.d.ts",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/palantir/tslint.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"cli",
|
|
|
|
"typescript",
|
|
|
|
"linter"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"clean": "npm-run-all -p clean:core clean:test",
|
|
|
|
"clean:core": "rimraf lib",
|
|
|
|
"clean:test": "rimraf build && rimraf test/config/node_modules",
|
|
|
|
"docs": "node scripts/buildDocs.js",
|
|
|
|
"compile": "npm-run-all -p compile:core compile:test -s compile:scripts",
|
|
|
|
"compile:core": "tsc -p src",
|
|
|
|
"compile:scripts": "tsc -p scripts",
|
|
|
|
"compile:test": "tsc -p test",
|
|
|
|
"lint": "npm-run-all -p lint:global lint:from-bin",
|
2017-08-14 05:01:11 +02:00
|
|
|
"lint:global": "tslint --project test/tsconfig.json --format stylish # test includes 'src' too",
|
|
|
|
"lint:from-bin": "node bin/tslint --project test/tsconfig.json --format stylish",
|
|
|
|
"publish:local": "./scripts/npmPublish.sh",
|
2017-05-28 00:38:50 +02:00
|
|
|
"test": "npm-run-all test:pre -p test:mocha test:rules",
|
2017-08-14 05:01:11 +02:00
|
|
|
"test:pre": "cd ./test/config && npm install --no-save",
|
2017-05-28 00:38:50 +02:00
|
|
|
"test:mocha": "mocha --reporter spec --colors \"build/test/**/*Tests.js\"",
|
|
|
|
"test:rules": "node ./build/test/ruleTestRunner.js",
|
|
|
|
"verify": "npm-run-all clean compile lint test docs",
|
|
|
|
"coverage": "rimraf coverage .nyc_output && nyc npm test"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"babel-code-frame": "^6.22.0",
|
|
|
|
"colors": "^1.1.2",
|
2017-08-14 05:01:11 +02:00
|
|
|
"commander": "^2.9.0",
|
2017-05-28 00:38:50 +02:00
|
|
|
"diff": "^3.2.0",
|
|
|
|
"glob": "^7.1.1",
|
2017-08-14 05:01:11 +02:00
|
|
|
"minimatch": "^3.0.4",
|
2017-05-28 00:38:50 +02:00
|
|
|
"resolve": "^1.3.2",
|
|
|
|
"semver": "^5.3.0",
|
2017-08-14 05:01:11 +02:00
|
|
|
"tslib": "^1.7.1",
|
|
|
|
"tsutils": "^2.7.1"
|
2017-05-28 00:38:50 +02:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2017-08-14 05:01:11 +02:00
|
|
|
"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"
|
2017-05-28 00:38:50 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/babel-code-frame": "^6.20.0",
|
|
|
|
"@types/chai": "^3.5.0",
|
|
|
|
"@types/colors": "^1.1.3",
|
2017-08-14 05:01:11 +02:00
|
|
|
"@types/commander": "^2.9.0",
|
|
|
|
"@types/diff": "^3.2.0",
|
2017-05-28 00:38:50 +02:00
|
|
|
"@types/glob": "^5.0.30",
|
2017-08-14 05:01:11 +02:00
|
|
|
"@types/js-yaml": "^3.5.31",
|
|
|
|
"@types/minimatch": "^2.0.29",
|
2017-05-28 00:38:50 +02:00
|
|
|
"@types/mocha": "^2.2.35",
|
2017-08-14 05:01:11 +02:00
|
|
|
"@types/node": "^7.0.29",
|
|
|
|
"@types/resolve": "^0.0.4",
|
2017-05-28 00:38:50 +02:00
|
|
|
"@types/semver": "^5.3.30",
|
|
|
|
"chai": "^3.5.0",
|
2017-08-14 05:01:11 +02:00
|
|
|
"github": "^8.2.1",
|
2017-05-28 00:38:50 +02:00
|
|
|
"js-yaml": "^3.7.0",
|
|
|
|
"json-stringify-pretty-compact": "^1.0.3",
|
|
|
|
"mocha": "^3.2.0",
|
2017-08-14 05:01:11 +02:00
|
|
|
"npm-run-all": "^4.0.2",
|
2017-05-28 00:38:50 +02:00
|
|
|
"nyc": "^10.2.0",
|
|
|
|
"rimraf": "^2.5.4",
|
2017-08-14 05:01:11 +02:00
|
|
|
"tslint": "^5.5.0",
|
2017-05-28 00:38:50 +02:00
|
|
|
"tslint-test-config-non-relative": "file:test/external/tslint-test-config-non-relative",
|
2017-08-14 05:01:11 +02:00
|
|
|
"typescript": "~2.4.1"
|
2017-05-28 00:38:50 +02:00
|
|
|
},
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=4.1.2"
|
|
|
|
}
|
|
|
|
}
|