87 lines
2.8 KiB
JSON
87 lines
2.8 KiB
JSON
{
|
|
"name": "tslint",
|
|
"version": "5.8.0",
|
|
"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",
|
|
"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",
|
|
"test": "npm-run-all test:pre -p test:mocha test:rules",
|
|
"test:pre": "cd ./test/config && npm install --no-save",
|
|
"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",
|
|
"builtin-modules": "^1.1.1",
|
|
"chalk": "^2.1.0",
|
|
"commander": "^2.9.0",
|
|
"diff": "^3.2.0",
|
|
"glob": "^7.1.1",
|
|
"minimatch": "^3.0.4",
|
|
"resolve": "^1.3.2",
|
|
"semver": "^5.3.0",
|
|
"tslib": "^1.7.1",
|
|
"tsutils": "^2.12.1"
|
|
},
|
|
"peerDependencies": {
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@types/babel-code-frame": "^6.20.0",
|
|
"@types/chai": "^3.5.0",
|
|
"@types/chalk": "^0.4.31",
|
|
"@types/commander": "^2.9.0",
|
|
"@types/diff": "^3.2.0",
|
|
"@types/glob": "^5.0.30",
|
|
"@types/js-yaml": "^3.5.31",
|
|
"@types/minimatch": "^2.0.29",
|
|
"@types/mocha": "^2.2.35",
|
|
"@types/node": "^7.0.29",
|
|
"@types/resolve": "^0.0.4",
|
|
"@types/rimraf": "^2.0.2",
|
|
"@types/semver": "^5.3.30",
|
|
"chai": "^3.5.0",
|
|
"github": "^8.2.1",
|
|
"js-yaml": "^3.7.0",
|
|
"json-stringify-pretty-compact": "^1.0.3",
|
|
"mocha": "^3.2.0",
|
|
"npm-run-all": "^4.0.2",
|
|
"nyc": "^10.2.0",
|
|
"rimraf": "^2.5.4",
|
|
"ts-node": "^3.3.0",
|
|
"tslint": "^5.7.0",
|
|
"tslint-test-config-non-relative": "file:test/external/tslint-test-config-non-relative",
|
|
"typescript": "~2.5.1"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=4.1.2"
|
|
}
|
|
}
|