UNPKG

1.63 kBJSONView Raw
1{
2 "name": "tslint-immutable",
3 "version": "4.6.0",
4 "description": "TSLint rules to disable mutation in TypeScript.",
5 "main": "tslint-immutable.json",
6 "repository": {
7 "type": "git",
8 "url": "git+https://github.com/jonaskello/tslint-immutable.git"
9 },
10 "keywords": [
11 "tslint",
12 "immutability"
13 ],
14 "author": "Jonas Kello",
15 "license": "MIT",
16 "bugs": {
17 "url": "https://github.com/jonaskello/tslint-immutable/issues"
18 },
19 "homepage": "https://github.com/jonaskello/tslint-immutable#readme",
20 "devDependencies": {
21 "@types/node": "^8.0.53",
22 "coveralls": "^2.13.1",
23 "husky": "^0.14.3",
24 "lint-staged": "^5.0.0",
25 "nyc": "^11.2.1",
26 "prettier": "^1.12.1",
27 "rimraf": "^2.6.2",
28 "shelljs": "^0.7.5",
29 "tslint": "^5.1.0",
30 "tslint-plugin-prettier": "^1.3.0",
31 "typescript": "^2.2.2"
32 },
33 "scripts": {
34 "compile": "tsc",
35 "build": "rimraf rules && yarn compile",
36 "lint": "tslint './src/**/*.ts{,x}'",
37 "test": "tslint --test test/rules/**/*",
38 "test:work": "yarn build && tslint --test test/rules/no-array-mutation/**/*",
39 "verify": "yarn build && yarn lint && yarn coverage",
40 "coverage": "rimraf coverage .nyc_output && nyc yarn test",
41 "report-coverage": "cat ./coverage/lcov.info | coveralls",
42 "publish:major": "npm run build && node scripts/publish.js major",
43 "publish:minor": "npm run build && node scripts/publish.js minor",
44 "publish:patch": "npm run build && node scripts/publish.js patch"
45 },
46 "lint-staged": {
47 "*.{ts,tsx}": "tslint",
48 "*.{ts,tsx,json,css}": [
49 "prettier --write",
50 "git add"
51 ]
52 }
53}