|
6 | 6 | ".eslintrc.js",
|
7 | 7 | ".prettierrc.json",
|
8 | 8 | ".editorconfig",
|
9 |
| - ".gitattributes" |
| 9 | + ".gitattributes", |
| 10 | + "bin" |
10 | 11 | ],
|
| 12 | + "bin": { |
| 13 | + "run-e": "./bin/run_e.js" |
| 14 | + }, |
11 | 15 | "scripts": {
|
12 | 16 | "test": "run-s format test:dev",
|
13 | 17 | "format": "run-s format:check-fix:*",
|
14 | 18 | "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", |
16 | 20 | "format:check:lint": "cross-env-shell eslint $npm_package_scriptsArgs_eslint",
|
17 | 21 | "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", |
19 | 23 | "format:check:prettier": "cross-env-shell prettier --check $npm_package_scriptsArgs_prettier",
|
20 | 24 | "format:fix:prettier": "cross-env-shell prettier --write $npm_package_scriptsArgs_prettier",
|
21 | 25 | "test:dev": "run-s test:dev:*",
|
|
24 | 28 | "test:ci:ava": "nyc -r lcovonly -r text -r json ava"
|
25 | 29 | },
|
26 | 30 | "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\"" |
29 | 33 | },
|
30 | 34 | "husky": {
|
31 | 35 | "hooks": {
|
|
79 | 83 | "eslint-plugin-standard": "^4.0.1",
|
80 | 84 | "eslint-plugin-unicorn": "^22.0.0",
|
81 | 85 | "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
|
| 86 | + "execa": "^4.0.3", |
82 | 87 | "prettier": "^2.1.2"
|
83 | 88 | },
|
84 | 89 | "devDependencies": {
|
85 | 90 | "ava": "^3.13.0",
|
86 | 91 | "cross-env": "^7.0.2",
|
87 |
| - "execa": "^4.0.3", |
88 | 92 | "husky": "^4.3.0",
|
89 | 93 | "npm-run-all": "^4.1.5",
|
90 | 94 | "nyc": "^15.1.0"
|
|
0 commit comments