UNPKG

2.09 kBJSONView Raw
1{
2 "name": "@berlysia/eslint-config",
3 "version": "3.3.1",
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 "read-pkg-up": "^7.0.1"
46 },
47 "devDependencies": {
48 "@types/jest": "^29.2.3",
49 "babel-eslint": "10.1.0",
50 "eslint": "8.28.0",
51 "eslint-find-rules": "4.1.0",
52 "jest": "29.3.1",
53 "lint-staged": "13.0.3",
54 "npm-run-all": "4.1.5",
55 "prettier": "2.7.1",
56 "typescript": "4.9.3"
57 },
58 "lint-staged": {
59 "*.{js,ts}": [
60 "eslint --fix",
61 "prettier --write"
62 ],
63 "*.{json,md}": [
64 "prettier --write"
65 ]
66 },
67 "packageManager": "yarn@3.3.0",
68 "peerDependencies": {
69 "eslint": "*"
70 }
71}
\No newline at end of file