/
package.json
67 lines (67 loc) · 1.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "eslint-config-joelpurra",
"version": "14.0.0",
"description": "Opinionated shareable linting configuration for Javascript/Typescript. By and for Joel Purra.",
"homepage": "https://joelpurra.com/projects/eslint-config-joelpurra/",
"type": "module",
"exports": {
".": "./index.cjs",
"./browser": "./browser.cjs",
"./esnext": "./esnext.cjs",
"./node": "./node.cjs",
"./react": "./react.cjs",
"./typescript": "./typescript.cjs"
},
"scripts": {
"test": "npm run --silent lint",
"lint": "npm run --silent xo && npm run --silent lint:copyright",
"lint:fix": "npm run --silent xo:fix",
"lint:copyright": "find . -not \\( -path './.git/*' -or -path './node_modules/*' \\) -type f -iname '*.cjs' -print0 | xargs -0 grep -L 'This file is part of eslint-config-joelpurra' | sed 's/^/File is missing copyright notice: /'",
"xo": "xo",
"xo:fix": "xo --fix"
},
"dependencies": {
"eslint": "^8.45.0",
"eslint-config-xo": "^0.43.1",
"eslint-config-xo-react": "^0.27.0",
"eslint-config-xo-typescript": "^1.0.1",
"eslint-plugin-modules-newline": "^0.0.6",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"xo": "^0.55.0"
},
"devDependencies": {
"husky": "^4.3.8"
},
"engines": {
"node": "^18.0.0 || ^20.0.0"
},
"keywords": [
"eslint",
"eslint-config",
"eslint-rules",
"xo",
"xo-config"
],
"bugs": {
"url": "https://github.com/joelpurra/eslint-config-joelpurra/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joelpurra/eslint-config-joelpurra.git"
},
"author": {
"name": "Joel Purra",
"email": "mig@joelpurra.se",
"url": "https://joelpurra.com/"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run --silent test",
"pre-push": "npm run --silent test"
}
}
}