Skip to content

Commit 59fa982

Browse files
authored
Expose run-e binary (#6)
1 parent 63830f4 commit 59fa982

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed
File renamed without changes.

package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@
66
".eslintrc.js",
77
".prettierrc.json",
88
".editorconfig",
9-
".gitattributes"
9+
".gitattributes",
10+
"bin"
1011
],
12+
"bin": {
13+
"run-e": "./bin/run_e.js"
14+
},
1115
"scripts": {
1216
"test": "run-s format test:dev",
1317
"format": "run-s format:check-fix:*",
1418
"format:ci": "run-s format:check:*",
15-
"format:check-fix:lint": "./scripts/run_on_error.js format:check:lint format:fix:lint",
19+
"format:check-fix:lint": "./bin/run_e.js format:check:lint format:fix:lint",
1620
"format:check:lint": "cross-env-shell eslint $npm_package_scriptsArgs_eslint",
1721
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_scriptsArgs_eslint",
18-
"format:check-fix:prettier": "./scripts/run_on_error.js format:check:prettier format:fix:prettier",
22+
"format:check-fix:prettier": "./bin/run_e.js format:check:prettier format:fix:prettier",
1923
"format:check:prettier": "cross-env-shell prettier --check $npm_package_scriptsArgs_prettier",
2024
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_scriptsArgs_prettier",
2125
"test:dev": "run-s test:dev:*",
@@ -24,8 +28,8 @@
2428
"test:ci:ava": "nyc -r lcovonly -r text -r json ava"
2529
},
2630
"scriptsArgs": {
27-
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{scripts,.github}/**/*.{js,md,html}\" \".*.js\"",
28-
"prettier": "--ignore-path .gitignore --loglevel=warn \"{scripts,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \"!**/package-lock.json\" \"!package-lock.json\""
31+
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{bin,.github}/**/*.{js,md,html}\" \".*.js\"",
32+
"prettier": "--ignore-path .gitignore --loglevel=warn \"{bin,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \"!**/package-lock.json\" \"!package-lock.json\""
2933
},
3034
"husky": {
3135
"hooks": {
@@ -79,12 +83,12 @@
7983
"eslint-plugin-standard": "^4.0.1",
8084
"eslint-plugin-unicorn": "^22.0.0",
8185
"eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
86+
"execa": "^4.0.3",
8287
"prettier": "^2.1.2"
8388
},
8489
"devDependencies": {
8590
"ava": "^3.13.0",
8691
"cross-env": "^7.0.2",
87-
"execa": "^4.0.3",
8892
"husky": "^4.3.0",
8993
"npm-run-all": "^4.1.5",
9094
"nyc": "^15.1.0"

0 commit comments

Comments
 (0)