-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
112 lines (112 loc) · 3.47 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
{
"name": "@netlify/eslint-config-node",
"version": "3.3.3",
"main": ".eslintrc.js",
"files": [
".eslintrc.js",
"react_config.js",
"vanilla_js_config.js",
".prettierrc.json",
".editorconfig",
".gitattributes",
"bin"
],
"bin": {
"run-e": "./bin/run_e.js",
"run-ci": "./bin/run_ci.js",
"run-local": "./bin/run_local.js"
},
"scripts": {
"test": "run-s format test:dev",
"format": "run-s format:check-fix:*",
"format:ci": "run-s format:check:*",
"format:check-fix:lint": "./bin/run_e.js format:check:lint format:fix:lint",
"format:check:lint": "cross-env-shell eslint $npm_package_config_eslint",
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint",
"format:check-fix:prettier": "./bin/run_e.js format:check:prettier format:fix:prettier",
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
"test:dev": "run-s test:dev:*",
"test:ci": "run-s test:ci:*",
"test:dev:ava": "ava",
"test:ci:ava": "nyc -r lcovonly -r text -r json ava",
"prepublishOnly": "npm ci && npm test"
},
"config": {
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{bin,.github}/**/*.{js,html}\" \".*.js\"",
"prettier": "--ignore-path .gitignore --loglevel=warn \"{bin,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \"!**/package-lock.json\" \"!CHANGELOG.md\""
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run format"
}
},
"description": "ESLint and Prettier configuration for Netlify Node.js projects",
"keywords": [
"eslint",
"eslintconfig",
"prettier",
"prettierrc",
"standard",
"standard style",
"JavaScript Standard Style",
"editorconfig",
"lint",
"configuration",
"config",
"strict",
"modern",
"modularity",
"functional",
"fp"
],
"license": "Apache-2.0",
"repository": "netlify/eslint-config-node",
"bugs": {
"url": "https://github.com/netlify/node-eslint-config/issues"
},
"author": "Netlify Inc.",
"directories": {
"test": "test"
},
"dependencies": {
"@babel/core": "^7.13.8",
"@babel/eslint-parser": "^7.13.8",
"@commitlint/cli": "^13.0.0",
"@commitlint/config-conventional": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"cross-env": "^7.0.2",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-config-standard": "^16.0.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-import-resolver-node": "^0.3.4",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-ava": "^13.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-html": "^6.1.0",
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-markdown": "^2.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.0.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-unicorn": "^37.0.0",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
"execa": "^5.0.0",
"husky": "^4.3.0",
"is-ci": "^3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"statuses": "^2.0.1"
},
"devDependencies": {
"ava": "^3.13.0",
"nyc": "^15.1.0"
},
"engines": {
"node": ">=16.0.0"
}
}