UNPKG

1.75 kBJSONView Raw
1{
2 "name": "tslint-immutable",
3 "version": "5.3.3",
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 "dependencies": {
21 "tsutils": "^2.28.0 || ^3.0.0"
22 },
23 "devDependencies": {
24 "@types/node": "^8.0.53",
25 "codecov": "^3.1.0",
26 "husky": "^0.14.3",
27 "lint-staged": "^5.0.0",
28 "nyc": "^11.2.1",
29 "prettier": "^1.12.1",
30 "rimraf": "^2.6.2",
31 "shelljs": "^0.7.5",
32 "tslint": "^5.8.0",
33 "tslint-plugin-prettier": "^1.3.0",
34 "typescript": "^3.0.0"
35 },
36 "peerDependencies": {
37 "tslint": "^5.8.0",
38 "typescript": "^2.8.0 || ^3.0.0"
39 },
40 "scripts": {
41 "compile": "tsc",
42 "build": "rimraf rules && yarn compile",
43 "lint": "tslint './src/**/*.ts{,x}'",
44 "test": "tslint --test test/rules/**/*",
45 "test:work": "yarn build && tslint --test test/rules/readonly-array/work",
46 "verify": "yarn build && yarn lint && yarn coverage",
47 "coverage": "rimraf coverage .nyc_output && nyc yarn test",
48 "report-coverage": "codecov -f coverage/*.json",
49 "preversion": "yarn verify",
50 "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
51 },
52 "lint-staged": {
53 "*.{ts,tsx}": "tslint",
54 "*.{ts,tsx,json,css}": [
55 "prettier --write",
56 "git add"
57 ]
58 }
59}