104 lines
3.1 KiB
JSON
104 lines
3.1 KiB
JSON
|
{
|
||
|
"name": "eslint-plugin-n",
|
||
|
"version": "15.2.3",
|
||
|
"description": "Additional ESLint's rules for Node.js",
|
||
|
"engines": {
|
||
|
"node": ">=12.22.0"
|
||
|
},
|
||
|
"main": "lib/index.js",
|
||
|
"files": [
|
||
|
"lib"
|
||
|
],
|
||
|
"peerDependencies": {
|
||
|
"eslint": ">=7.0.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"builtins": "^5.0.1",
|
||
|
"eslint-plugin-es": "^4.1.0",
|
||
|
"eslint-utils": "^3.0.0",
|
||
|
"ignore": "^5.1.1",
|
||
|
"is-core-module": "^2.9.0",
|
||
|
"minimatch": "^3.1.2",
|
||
|
"resolve": "^1.10.1",
|
||
|
"semver": "^7.3.7"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"codecov": "^3.3.0",
|
||
|
"esbuild": "^0.14.39",
|
||
|
"eslint": "^8.15.0",
|
||
|
"eslint-config-prettier": "^8.5.0",
|
||
|
"eslint-plugin-eslint-plugin": "^4.0.1",
|
||
|
"eslint-plugin-n": "file:.",
|
||
|
"fast-glob": "^3.2.11",
|
||
|
"globals": "^13.14.0",
|
||
|
"husky": "^8.0.1",
|
||
|
"import-meta-resolve": "^1.1.1",
|
||
|
"lint-staged": "^12.4.1",
|
||
|
"mocha": "^10.0.0",
|
||
|
"nyc": "^15.1.0",
|
||
|
"opener": "^1.5.1",
|
||
|
"prettier": "^2.6.2",
|
||
|
"punycode": "^2.1.1",
|
||
|
"release-it": "^15.0.0",
|
||
|
"rimraf": "^3.0.2"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "node scripts/update",
|
||
|
"clean": "rimraf .nyc_output coverage",
|
||
|
"codecov": "nyc report --reporter text-lcov | codecov --pipe --disable=gcov -t $CODECOV_TOKEN",
|
||
|
"coverage": "opener ./coverage/lcov-report/index.html",
|
||
|
"lint": "eslint lib scripts tests/lib .eslintrc.js",
|
||
|
"new": "node scripts/new-rule",
|
||
|
"pretest": "npm run -s lint",
|
||
|
"test": "nyc npm run -s test:_mocha",
|
||
|
"test:ci": "nyc npm run -s test:_mocha",
|
||
|
"test:_mocha": "_mocha \"tests/lib/**/*.js\" --reporter progress --timeout 4000",
|
||
|
"preversion": "npm test",
|
||
|
"version": "npm run -s build && eslint lib/rules --fix && git add .",
|
||
|
"postversion": "git push && git push --tags",
|
||
|
"watch": "npm run test:_mocha -- --watch --growl",
|
||
|
"format": "prettier --loglevel warn --write \"**/*.{js,css,md}\"",
|
||
|
"prepare": "husky install"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/weiran-zsd/eslint-plugin-node.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"eslint",
|
||
|
"eslintplugin",
|
||
|
"eslint-plugin",
|
||
|
"node",
|
||
|
"nodejs",
|
||
|
"ecmascript",
|
||
|
"shebang",
|
||
|
"file",
|
||
|
"path",
|
||
|
"import",
|
||
|
"require"
|
||
|
],
|
||
|
"author": "Toru Nagashima",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/weiran-zsd/eslint-plugin-node/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/weiran-zsd/eslint-plugin-node#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"
|
||
|
}
|
||
|
}
|