UNPKG

1.79 kBJSONView Raw
1{
2 "name": "@berlysia/eslint-config",
3 "version": "1.2.0",
4 "description": "",
5 "main": "index.js",
6 "scripts": {
7 "lint": "eslint './**/*.{js,ts}'",
8 "fix": "npm run lint -- --fix",
9 "format": "prettier '*.{json,md}'",
10 "test:typescript": "node ./tools/typescript/verify",
11 "test:prettier": "eslint --print-config tests/dummy.ts | eslint-config-prettier-check",
12 "test:unset": "eslint-find-rules -u './tests/all.js'",
13 "test:auto": "node ./auto.js",
14 "test": "run-p test:*",
15 "projtest:tsproj": "cd tests/tsproject && yarn install --no-lockfile && yarn lint",
16 "projtest:jsproj": "cd tests/jsproject && yarn install --no-lockfile && yarn lint",
17 "projtest": "run-s projtest:*"
18 },
19 "keywords": [
20 "eslint",
21 "eslintconfig"
22 ],
23 "author": "berlysia",
24 "license": "MIT",
25 "dependencies": {
26 "@typescript-eslint/eslint-plugin": "^2.0.0",
27 "@typescript-eslint/parser": "^2.0.0",
28 "eslint-config-prettier": "^6.0.0",
29 "eslint-plugin-eslint-comments": "^3.1.2",
30 "eslint-plugin-flowtype": "^4.0.0",
31 "eslint-plugin-import": "^2.18.0",
32 "eslint-plugin-jest": "^23.0.0",
33 "eslint-plugin-prettier": "^3.1.0",
34 "eslint-plugin-react": "^7.14.2",
35 "eslint-plugin-react-hooks": "^2.0.0",
36 "read-pkg-up": "^7.0.0"
37 },
38 "devDependencies": {
39 "babel-eslint": "10.0.3",
40 "eslint": "6.6.0",
41 "eslint-find-rules": "3.4.0",
42 "husky": "3.0.9",
43 "jest": "24.9.0",
44 "lint-staged": "9.4.3",
45 "npm-run-all": "4.1.5",
46 "prettier": "1.19.1",
47 "typescript": "3.7.2"
48 },
49 "lint-staged": {
50 "*.{js,ts}": [
51 "eslint --fix",
52 "git add"
53 ],
54 "*.{json,md}": [
55 "prettier --write",
56 "git add"
57 ]
58 },
59 "husky": {
60 "hooks": {
61 "pre-commit": "lint-staged"
62 }
63 }
64}