forked from eslint-community/eslint-plugin-n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.56 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "eslint-plugin-n",
"version": "17.0.0-0",
"description": "Additional ESLint's rules for Node.js",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"main": "lib/index.js",
"files": [
"lib/",
"configs/"
],
"peerDependencies": {
"eslint": ">=8.23.0"
},
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"enhanced-resolve": "^5.15.0",
"eslint-plugin-es-x": "^7.5.0",
"get-tsconfig": "^4.7.0",
"globals": "^13.24.0",
"ignore": "^5.2.4",
"is-builtin-module": "^3.2.1",
"is-core-module": "^2.12.1",
"minimatch": "^9.0.0",
"semver": "^7.5.3"
},
"devDependencies": {
"@eslint/js": "^8.43.0",
"@types/eslint": "^8.56.2",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"eslint-doc-generator": "^1.6.1",
"eslint-plugin-eslint-plugin": "^5.2.1",
"eslint-plugin-n": "file:.",
"fast-glob": "^3.2.12",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"markdownlint-cli": "^0.38.0",
"mocha": "^10.2.0",
"npm-run-all2": "^6.1.1",
"nyc": "^15.1.0",
"opener": "^1.5.2",
"prettier": "^3.1.1",
"punycode": "^2.3.0",
"release-it": "^17.0.0",
"rimraf": "^5.0.1",
"typescript": "^5.1.3"
},
"scripts": {
"build": "node scripts/update",
"clean": "rimraf .nyc_output coverage",
"coverage": "opener ./coverage/lcov-report/index.html",
"format": "prettier --write \"**/*.{js,json}\"",
"lint": "npm-run-all \"lint:*\"",
"lint:docs": "markdownlint \"**/*.md\"",
"lint:eslint-docs": "npm run update:eslint-docs -- --check",
"lint:js": "eslint .",
"new": "node scripts/new-rule",
"postversion": "git push && git push --tags",
"prepare": "npx husky install",
"pretest": "npm run -s lint",
"preversion": "npm test",
"test": "nyc npm run -s test:_mocha",
"test:_mocha": "_mocha \"tests/lib/**/*.js\" --reporter progress --timeout 4000",
"test:ci": "nyc npm run -s test:_mocha",
"update:eslint-docs": "eslint-doc-generator",
"version": "npm run -s build && eslint lib/rules --fix && git add .",
"watch": "npm run test:_mocha -- --watch --growl"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eslint-community/eslint-plugin-n.git"
},
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin",
"node",
"nodejs",
"ecmascript",
"shebang",
"file",
"path",
"import",
"require"
],
"author": "Toru Nagashima",
"license": "MIT",
"bugs": {
"url": "https://github.com/eslint-community/eslint-plugin-n/issues"
},
"homepage": "https://github.com/eslint-community/eslint-plugin-n#readme",
"funding": "https://github.com/sponsors/mysticatea",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"release-it": {
"github": {
"release": true
},
"npm": {
"skipChecks": true
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{json,js}": "prettier --write --ignore-path .eslintignore",
"*.md": "markdownlint --fix"
},
"imports": {
"#eslint-rule-tester": "./tests/eslint-rule-tester.js"
}
}