|
9 | 9 | "src/9.x.js" |
10 | 10 | ], |
11 | 11 | "scripts": { |
12 | | - "commit": "npx git cz", |
13 | | - "lint": "npx eslint --ext .js --ignore-path .gitignore .", |
14 | | - "fix": "npm run lint -- --fix", |
| 12 | + "commit": "git cz", |
| 13 | + "lint": "npm run eslint && npm run prettier", |
| 14 | + "eslint": "eslint --ext .js --fix --ignore-path .gitignore .", |
| 15 | + "prettier": "prettier '**/*.js' --write --ignore-path .gitignore", |
15 | 16 | "prerelease": "npm run lint", |
16 | | - "release": "npx standard-version" |
| 17 | + "release": "git add src/. && git add index.js && standard-version -a", |
| 18 | + "prepare": "husky install" |
17 | 19 | }, |
18 | 20 | "repository": { |
19 | 21 | "type": "git", |
|
33 | 35 | }, |
34 | 36 | "homepage": "https://github.com/coldfrontlabs/eslint-plugin-drupal-contrib#readme", |
35 | 37 | "dependencies": { |
36 | | - "eslint-config-airbnb": "^18.2.0", |
37 | | - "eslint-config-prettier": "^6.11.0", |
38 | | - "eslint-plugin-import": "^2.22.0", |
39 | | - "eslint-plugin-jsx-a11y": "^6.3.1", |
40 | | - "eslint-plugin-prettier": "^3.1.4", |
41 | | - "eslint-plugin-react": "^7.20.6" |
| 38 | + "eslint-config-airbnb": "^18.2.1", |
| 39 | + "eslint-config-prettier": "^8.3.0", |
| 40 | + "eslint-plugin-import": "^2.24.2", |
| 41 | + "eslint-plugin-jquery": "^1.5.1", |
| 42 | + "eslint-plugin-jsx-a11y": "^6.4.1", |
| 43 | + "eslint-plugin-prettier": "^4.0.0", |
| 44 | + "eslint-plugin-react": "^7.26.0", |
| 45 | + "eslint-plugin-react-hooks": "^4.2.0", |
| 46 | + "eslint-plugin-yml": "^0.10.1" |
42 | 47 | }, |
43 | 48 | "peerDependencies": { |
44 | 49 | "eslint": "^7.8.1", |
45 | 50 | "prettier": "^2.1.1" |
46 | 51 | }, |
47 | 52 | "devDependencies": { |
48 | | - "@commitlint/cli": "^11.0.0", |
49 | | - "@commitlint/config-conventional": "^11.0.0", |
50 | | - "commitizen": "^4.2.1", |
| 53 | + "@commitlint/cli": "^13.1.0", |
| 54 | + "@commitlint/config-conventional": "^13.1.0", |
| 55 | + "commitizen": "^4.2.3", |
| 56 | + "cz-conventional-changelog": "^3.3.0", |
51 | 57 | "eslint": "^7.8.1", |
52 | | - "husky": "^4.3.0", |
53 | | - "prettier": "^2.1.1", |
54 | | - "standard-version": "^9.0.0" |
| 58 | + "husky": "^7.0.2", |
| 59 | + "lint-staged": "^11.1.2", |
| 60 | + "prettier": "^2.2.1", |
| 61 | + "standard-version": "^9.2.0" |
55 | 62 | } |
56 | 63 | } |
0 commit comments