@logux/sharec-config
Version:
Best parctices and configs from Logux projects
78 lines (77 loc) • 1.86 kB
JSON
{
"scripts": {
"test": "jest --coverage && eslint . && check-dts && size-limit && yaspeller *.md"
},
"types": "./index.d.ts",
"devDependencies": {
"@logux/eslint-config": "^46.0.1",
"@size-limit/preset-small-lib": "^6.0.4",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"check-dts": "^0.6.3",
"clean-publish": "^3.4.2",
"eslint": "^8.1.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-let": "^3.0.0",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^37.0.1",
"jest": "^27.3.1",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"simple-git-hooks": "^2.7.0",
"size-limit": "^6.0.4",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4",
"yaspeller": "^8.0.0"
},
"simple-git-hooks": {
"pre-commit": "./node_modules/.bin/lint-staged"
},
"lint-staged": {
"*.md": "yaspeller",
"*.js": "prettier --write",
"*.ts": "prettier --write"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"eslintConfig": {
"extends": "@logux/eslint-config/ts"
},
"eslintIgnore": [
"**/errors.ts"
],
"clean-publish": {
"cleanDocs": true
},
"yaspeller": {
"lang": "en",
"ignoreCapitalization": true,
"ignoreText": [
" \\(by [^)]+\\)."
]
}
}