| 1 |
{ |
| 2 |
"name": "@ajv-validator/config", |
| 3 |
"version": "0.3.0", |
| 4 |
"description": "Shared typescript, eslint and prettier configuration", |
| 5 |
"main": "index.js", |
| 6 |
"scripts": { |
| 7 |
"prettier:write": "prettier --write './**/*.{md,json,yaml,js,ts}'", |
| 8 |
"prettier:check": "prettier --list-different './**/*.{md,json,yaml,js,ts}'", |
| 9 |
"eslint": "eslint --ext .ts ./src/**/*", |
| 10 |
"tsc": "tsc --noEmit", |
| 11 |
"test": "npm run prettier:check && npm run eslint && npm run tsc" |
| 12 |
}, |
| 13 |
"repository": { |
| 14 |
"type": "git", |
| 15 |
"url": "git+https://github.com/ajv-validator/config.git" |
| 16 |
}, |
| 17 |
"author": "Evgeny Poberezkin", |
| 18 |
"license": "MIT", |
| 19 |
"bugs": { |
| 20 |
"url": "https://github.com/ajv-validator/config/issues" |
| 21 |
}, |
| 22 |
"homepage": "https://github.com/ajv-validator/config#readme", |
| 23 |
"devDependencies": { |
| 24 |
"@typescript-eslint/eslint-plugin": "^3.7.0", |
| 25 |
"@typescript-eslint/parser": "^3.7.0", |
| 26 |
"eslint": "^7.5.0", |
| 27 |
"eslint-config-prettier": "^6.11.0", |
| 28 |
"husky": "^4.2.5", |
| 29 |
"lint-staged": "^10.2.11", |
| 30 |
"prettier": "^2.0.5", |
| 31 |
"typescript": "^3.9.7" |
| 32 |
}, |
| 33 |
"husky": { |
| 34 |
"hooks": { |
| 35 |
"pre-commit": "lint-staged" |
| 36 |
} |
| 37 |
}, |
| 38 |
"lint-staged": { |
| 39 |
"*.{md,json,yaml,js,ts}": "prettier --write" |
| 40 |
}, |
| 41 |
"prettier": "./prettierrc.json" |
| 42 |
} |