UNPKG

1.85 kBJSONView Raw
1{
2 "name": "@berlysia/eslint-config",
3 "version": "2.1.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": "cd tests/tsproject && yarn install --no-lockfile && yarn lint",
20 "projtest:jsproj": "cd tests/jsproject && yarn install --no-lockfile && yarn lint",
21 "projtest": "run-s projtest:*",
22 "pre-commit": "yarn lint-staged",
23 "prepare": "husky install"
24 },
25 "keywords": [
26 "eslint",
27 "eslintconfig"
28 ],
29 "author": "berlysia",
30 "license": "MIT",
31 "dependencies": {
32 "@typescript-eslint/eslint-plugin": "^4.22.0",
33 "@typescript-eslint/parser": "^4.22.0",
34 "eslint-config-prettier": "^8.2.0",
35 "eslint-plugin-eslint-comments": "^3.1.2",
36 "eslint-plugin-import": "^2.18.0",
37 "eslint-plugin-jest": "^24.1.3",
38 "eslint-plugin-react": "^7.23.2",
39 "eslint-plugin-react-hooks": "^4.0.0",
40 "read-pkg-up": "^7.0.0"
41 },
42 "devDependencies": {
43 "babel-eslint": "10.1.0",
44 "eslint": "7.28.0",
45 "eslint-find-rules": "3.6.1",
46 "husky": "6.0.0",
47 "jest": "27.0.4",
48 "lint-staged": "11.0.0",
49 "npm-run-all": "4.1.5",
50 "prettier": "2.3.1",
51 "typescript": "4.3.2"
52 },
53 "lint-staged": {
54 "*.{js,ts}": [
55 "eslint --fix",
56 "prettier --write"
57 ],
58 "*.{json,md}": [
59 "prettier --write"
60 ]
61 }
62}