UNPKG

tslint-immutable

Version:

TSLint rules to disable mutation in TypeScript.

77 lines (76 loc) 2.08 kB
{ "name": "tslint-immutable", "version": "6.0.1", "description": "TSLint rules to disable mutation in TypeScript.", "main": "tslint-immutable.json", "repository": { "type": "git", "url": "git+https://github.com/jonaskello/tslint-immutable.git" }, "keywords": [ "tslint", "immutability" ], "author": "Jonas Kello", "contributors": [ { "name": "Rebecca Stevens", "email": "rebecca.stevens@outlook.co.nz" } ], "license": "MIT", "bugs": { "url": "https://github.com/jonaskello/tslint-immutable/issues" }, "homepage": "https://github.com/jonaskello/tslint-immutable#readme", "files": [ "/rules", "tslint-immutable.json", "all.json", "package.json", "CHANGELOG.md", "LICENSE", "README.md" ], "dependencies": { "tsutils": "^2.28.0 || ^3.0.0" }, "devDependencies": { "@types/glob": "^7.1.1", "@types/node": "^8.0.53", "codecov": "^3.2.0", "glob": "^7.1.3", "husky": "^1.3.1", "lint-staged": "^8.1.5", "nyc": "^13.3.0", "prettier": "^1.16.4", "rimraf": "^2.6.3", "shelljs": "^0.8.3", "tslint": "^5.14.0", "tslint-plugin-prettier": "^2.0.1", "typescript": "^3.4.0-rc" }, "peerDependencies": { "tslint": "^5.8.0", "typescript": "^2.8.0 || ^3.0.0" }, "scripts": { "compile": "tsc", "build": "rimraf rules && yarn compile", "lint": "tslint './{src,scripts}/**/*.ts{,x}'", "test": "tslint --test test/rules/**/*", "test:work": "yarn build && tslint --test test/rules/readonly-array/work", "verify": "yarn build && yarn lint && yarn coverage", "coverage": "rimraf coverage .nyc_output && nyc yarn test", "report-coverage": "codecov -f coverage/*.json", "preversion": "yarn verify", "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\"" }, "lint-staged": { "*.{ts,tsx}": "tslint", "*.{ts,tsx,json,css}": [ "prettier --write", "git add" ] } }