tslint-no-unused-expression-chai
Version:
Custom tslint no-unused-expression rule supports chai's expect assertion
84 lines (83 loc) • 2.14 kB
JSON
{
"name": "tslint-no-unused-expression-chai",
"version": "0.1.4",
"description": "Custom tslint no-unused-expression rule supports chai's expect assertion",
"main": "rules/index.js",
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"chore",
"revert",
"ci",
"build"
]
}
},
"lint-staged": {
"*.@(ts)": [
"tslint --fix --type-check --project tsconfig.json",
"git add"
]
},
"scripts": {
"prepublish": "npm run build",
"test": "ts-node ./test/testRunner.ts",
"lint": "tslint src/**/*.ts test/**/*.ts --type-check --project tsconfig.json",
"lint:staged": "lint-staged",
"build": "shx rm -rf ./rules ./dist && tsc && shx cp -r ./dist/src ./rules",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/tslint-no-unused-expression-chai.git"
},
"author": "OJ Kwon <kwon.ohjoong@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/tslint-no-unused-expression-chai/issues"
},
"homepage": "https://github.com/kwonoj/tslint-no-unused-expression-chai#readme",
"dependencies": {
"tsutils": "^3.0.0"
},
"peerDependencies": {
"tslint": ">=5.1.0"
},
"devDependencies": {
"@types/debug": "0.0.30",
"@types/node": "^10.11.3",
"@types/shelljs": "^0.8.0",
"commitizen": "^3.0.2",
"conventional-changelog-cli": "^2.0.5",
"husky": "^1.1.0",
"lint-staged": "^7.3.0",
"npm-run-all": "^4.1.3",
"shelljs": "^0.8.2",
"shx": "^0.3.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.1",
"validate-commit-msg": "^2.12.1"
},
"engines": {
"node": ">=4"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "lint-staged",
"pre-push": "npm-run-all build test"
}
}
}