-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 2.19 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
{
"name": "cbf-wordpress",
"version": "0.1.34",
"description": "[![Packagist](https://img.shields.io/packagist/v/roots/bedrock.svg?style=flat-square)](https://packagist.org/packages/roots/bedrock) [![Build Status](https://img.shields.io/travis/roots/bedrock.svg?style=flat-square)](https://travis-ci.org/roots/bedrock)",
"devDependencies": {
"@commitlint/cli": "^19.0",
"@commitlint/config-conventional": "^19.0",
"@evilmartians/lefthook": "^1.6.4",
"@wordpress/stylelint-config": "^21.35",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"lint-staged": "^15.2",
"prettier": "^3.2",
"stylelint": "^14.2",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-prettier-scss": "^0.0.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"scripts": {
"lint": "npm run lint:css && npm run lint:js && npm run lint:php:all",
"lint:commit": "commitlint --edit",
"lint:css": "stylelint",
"lint:css:all": "npm run lint:css \"web/app/plugins/cbf-academy/src/sass/**/*.scss\" \"web/app/plugins/cbf-jobs/src/sass/**/*.scss\" \"web/app/themes/cbf-academy/assets/css/**/*.css\" \"web/app/themes/cbf-jobs/assets/css/**/*.css\"",
"lint:fix:css": "npm run lint:css:all -- --fix",
"lint:fix:js": "npm run lint:js:all -- --fix",
"lint:fix:php": "composer fix:all",
"lint:js": "eslint --ext .js",
"lint:js:all": "npm run lint:js web/app/plugins/cbf-academy/src/js web/app/plugins/cbf-jobs/src/js web/app/themes/cbf-academy/assets/js web/app/themes/cbf-jobs/assets/js",
"lint:php": "composer lint",
"lint:php:all": "composer lint:all"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"env": {
"es6": true,
"node": true
},
"rules": {
"prettier/prettier": "error"
},
"plugins": [
"prettier"
]
},
"stylelint": {
"extends": [
"@wordpress/stylelint-config",
"@wordpress/stylelint-config/scss",
"stylelint-config-prettier",
"stylelint-config-prettier-scss"
]
}
}