friends-of-js/tslint-configs

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@friends-of-js/tslint-configs",
  "publishConfig": {
    "access": "public"
  },
  "version": "1.2.1",
  "license": "MIT",
  "homepage": "https://github.com/friends-of-js/tslint-configs",
  "repository": {
    "type": "git",
    "url": "https://github.com/friends-of-js/tslint-configs"
  },
  "description": "Set of sharable tslint configs.",
  "keywords": [
    "TSLint",
    "sharable",
    "configs"
  ],
  "bugs": {
    "url": "https://github.com/friends-of-js/tslint-configs/issues",
    "email": "romanov@noldor.pro"
  },
  "author": "Dmitriy Romanov <romanov@noldor.pro> (https://github.com/friends-of-js)",
  "contributors": [
    "Dmitriy Romanov <romanov@noldor.pro> (https://github.com/friends-of-js)"
  ],
  "main": "index.js",
  "scripts": {
    "i": "npm-scripts-info",
    "build": "yarn run build.module",
    "build.module": "yarn run build.module.commonjs",
    "build.module.commonjs": "tsc --project build/module/tsconfig.commonjs.json",
    "lint": "tslint -p tsconfig.json --format codeFrame --exclude \"spec/fixtures/**/*.ts\"",
    "fix": "tslint -p tsconfig.json --fix --exclude \"spec/fixtures/**/*.ts\"",
    "test": "yarn run test.module",
    "test.module": "yarn build && NODE_ENV=test mocha --opts ./spec/mocha.opts",
    "test.with.coverage": "nyc --reporter=text --reporter=html yarn run test && nyc report --reporter=text-lcov > coverage/lcov.info",
    "coverage": "yarn run coverage.generate && yarn run coverage.show",
    "coverage.generate": "nyc --reporter=text --reporter=html yarn run test && nyc report --reporter=text-lcov > coverage/lcov.info",
    "coverage.show": "opn coverage/index.html",
    "coverage.codecov": "codecov -f 'coverage/lcov.info'",
    "release.major": "release major && yarn publish",
    "release.minor": "release minor && yarn publish",
    "release.patch": "release patch && yarn publish",
    "release.pre": "release pre && yarn publish",
    "checkPackage": "yarn run build && yarn run lint && yarn run test",
    "commit": "git-cz",
    "prepublishOnly": "yarn run checkPackage",
    "prerelease.major": "yarn run checkPackage",
    "prerelease.minor": "yarn run checkPackage",
    "prerelease.patch": "yarn run checkPackage",
    "prerelease.pre": "yarn run checkPackage",
    "clean": "rm -rf ./lib ./coverage ./.nyc_output",
    "createLink": "yarn link --silent > /dev/null 2>&1 && yarn link --silent $npm_package_name"
  },
  "config": {
    "commitizen": {
      "path": "node_modules/cz-conventional-changelog"
    }
  },
  "devDependencies": {
    "@commitlint/cli": "^6.1.3",
    "@commitlint/config-conventional": "^6.1.3",
    "@friends-of-js/typescript-configs": "^1.0.5",
    "@types/chai": "^4.1.2",
    "@types/mocha": "^5.0.0",
    "@types/node": "^9.6.5",
    "chai": "^4.1.2",
    "codacy-coverage": "^2.1.0",
    "codecov": "^3.0.0",
    "commitizen": "^2.9.6",
    "cz-conventional-changelog": "^2.1.0",
    "gh-pages": "^1.1.0",
    "husky": "^1.0.0-rc.1",
    "mocha": "^5.1.0",
    "nyc": "^11.6.0",
    "opn-cli": "^3.1.0",
    "release": "^3.1.7",
    "ts-node": "^5.0.1",
    "tsconfig-paths": "^3.1.3",
    "tslint": "^5.9.1",
    "typescript": "^2.8.1"
  },
  "dependencies": {
    "tslint-clean-code": "^0.2.6",
    "tslint-consistent-codestyle": "^1.12.0",
    "tslint-eslint-rules": "^5.1.0",
    "tslint-microsoft-contrib": "^5.0.3",
    "tslint-sonarts": "^1.6.0"
  },
  "peerDependencies": {
    "tslint": ">=5.9.1 < 6",
    "typescript": ">= 2.7 < 3"
  }
}