| 1 |
{ |
| 2 |
"name": "@forbeslindesay/tsconfig", |
| 3 |
"description": "Forbes Lindesay's tsconfig, tslint, prettier etc. configs", |
| 4 |
"repository": { |
| 5 |
"type": "git", |
| 6 |
"url": "https://github.com/ForbesLindesay/tsconfig.git" |
| 7 |
}, |
| 8 |
"bugs": { |
| 9 |
"url": "https://github.com/ForbesLindesay/tsconfig/issues" |
| 10 |
}, |
| 11 |
"homepage": "https://github.com/ForbesLindesay/tsconfig", |
| 12 |
"license": "MIT", |
| 13 |
"keywords": [ |
| 14 |
"tslint", |
| 15 |
"typescript", |
| 16 |
"prettier", |
| 17 |
"config" |
| 18 |
], |
| 19 |
"scripts": { |
| 20 |
"prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'", |
| 21 |
"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'", |
| 22 |
"lint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .", |
| 23 |
"typecheck": "tsc --noEmit", |
| 24 |
"check-prettier-conflicts": "tslint-config-prettier-check './index.js' && tslint-config-prettier-check './react.js'", |
| 25 |
"release": "semantic-release" |
| 26 |
}, |
| 27 |
"dependencies": {}, |
| 28 |
"devDependencies": { |
| 29 |
"husky": "^2.4.1", |
| 30 |
"lint-staged": "^8.2.1", |
| 31 |
"prettier": "^1.18.2", |
| 32 |
"semantic-release": "^15.13.17", |
| 33 |
"tslint": "^5.18.0", |
| 34 |
"tslint-config-prettier": "^1.18.0", |
| 35 |
"typescript": "^3.5.2" |
| 36 |
}, |
| 37 |
"husky": { |
| 38 |
"hooks": { |
| 39 |
"pre-commit": "lint-staged" |
| 40 |
} |
| 41 |
}, |
| 42 |
"lint-staged": { |
| 43 |
"*.{ts,tsx}": [ |
| 44 |
"prettier --write", |
| 45 |
"tslint -t verbose -p .", |
| 46 |
"git add" |
| 47 |
], |
| 48 |
"*.{md,json,yaml,js,jsx}": [ |
| 49 |
"prettier --write", |
| 50 |
"git add" |
| 51 |
] |
| 52 |
}, |
| 53 |
"version": "2.0.0" |
| 54 |
} |