tslint-immutable
Version:
TSLint rules to disable mutation in TypeScript.
53 lines (52 loc) • 1.62 kB
JSON
{
"name": "tslint-immutable",
"version": "4.5.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",
"license": "MIT",
"bugs": {
"url": "https://github.com/jonaskello/tslint-immutable/issues"
},
"homepage": "https://github.com/jonaskello/tslint-immutable#readme",
"devDependencies": {
"@types/node": "^8.0.53",
"coveralls": "^2.13.1",
"husky": "^0.14.3",
"lint-staged": "^5.0.0",
"nyc": "^11.2.1",
"prettier": "^1.9.2",
"shelljs": "^0.7.5",
"tslint": "^5.1.0",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^2.2.2"
},
"scripts": {
"compile": "tsc",
"build": "rm -rf rules && tsc -p tsconfig.json",
"lint": "tslint './src/**/*.ts{,x}'",
"test": "tslint --test test/rules/**/*",
"test:work": "yarn build && tslint --test test/rules/readonly-keyword/work/*",
"verify": "yarn build && yarn lint && yarn coverage",
"coverage": "rm -rf coverage .nyc_output && nyc yarn test",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"publish:major": "npm run build && node scripts/publish.js major",
"publish:minor": "npm run build && node scripts/publish.js minor",
"publish:patch": "npm run build && node scripts/publish.js patch"
},
"lint-staged": {
"*.{ts,tsx}": "tslint",
"*.{ts,tsx,json,css}": [
"prettier --write",
"git add"
]
}
}