UNPKG

2.17 kBJSONView Raw
1{
2 "name": "@berlysia/eslint-config",
3 "version": "4.0.0",
4 "description": "",
5 "main": "index.js",
6 "scripts": {
7 "lint": "run-p 'lint:*'",
8 "lint:eslint": "eslint './**/*.{js,ts}'",
9 "lint:prettier": "prettier . --check",
10 "fix": "run-s fix:eslint fix:prettier",
11 "fix:eslint": "yarn lint:eslint --fix",
12 "fix:prettier": "yarn lint:prettier --write",
13 "format": "prettier '*.{json,md}'",
14 "test:typescript": "node ./tools/typescript/verify",
15 "test:prettier": "eslint-config-prettier tests/dummy.ts",
16 "test:unset": "eslint-find-rules -u './tests/all.js'",
17 "test:auto": "node ./auto.js",
18 "test": "run-p 'test:*'",
19 "projtest:tsproj": "yarn workspace tsproject lint",
20 "projtest:jsproj": "yarn workspace jsproject lint",
21 "projtest": "run-s 'projtest:*'",
22 "ci": "run-s lint test projtest",
23 "prepare": "git config --local core.hooksPath .githooks && echo 'githooks installed' || echo 'githooks install failed'"
24 },
25 "workspaces": [
26 "tests/jsproject",
27 "tests/tsproject"
28 ],
29 "keywords": [
30 "eslint",
31 "eslintconfig"
32 ],
33 "author": "berlysia",
34 "license": "MIT",
35 "dependencies": {
36 "@typescript-eslint/eslint-plugin": "^5.36.2",
37 "@typescript-eslint/parser": "^5.36.2",
38 "eslint-config-prettier": "^8.5.0",
39 "eslint-import-resolver-typescript": "^3.5.1",
40 "eslint-plugin-eslint-comments": "^3.2.0",
41 "eslint-plugin-import": "^2.26.0",
42 "eslint-plugin-jest": "^27.0.4",
43 "eslint-plugin-react": "^7.31.8",
44 "eslint-plugin-react-hooks": "^4.6.0",
45 "eslint-plugin-sonarjs": "^0.18.0",
46 "eslint-plugin-unicorn": "^45.0.2",
47 "read-pkg-up": "^7.0.1"
48 },
49 "devDependencies": {
50 "@types/jest": "^29.2.3",
51 "babel-eslint": "10.1.0",
52 "eslint": "8.33.0",
53 "eslint-find-rules": "4.1.0",
54 "jest": "29.4.1",
55 "lint-staged": "13.0.3",
56 "npm-run-all": "4.1.5",
57 "prettier": "2.8.3",
58 "typescript": "4.9.3"
59 },
60 "lint-staged": {
61 "*.{js,ts}": [
62 "eslint --fix",
63 "prettier --write"
64 ],
65 "*.{json,md}": [
66 "prettier --write"
67 ]
68 },
69 "packageManager": "yarn@3.3.1",
70 "peerDependencies": {
71 "eslint": "*"
72 }
73}
\No newline at end of file