-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.29 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
{
"name": "codewpcs",
"version": "1.0.1",
"description": "Easy way to format and fix code with preconfigured Prettier, ESLint, Stylelint, PHPCS, EditorConfig and Browserlist inspired by WordPress and their coding standards",
"bin": {
"codewpcs": "./bin/codewpcs/index.mjs"
},
"preferGlobal": true,
"scripts": {
"format": "prettier --write . & phpcbf",
"format:js": "prettier --write **/*.{js,cjs,mjs}",
"format:css": "prettier --write **/*.{css,scss}",
"format:php": "phpcbf",
"lint": "eslint . & stylelint . & phpcs",
"lint:js": "eslint .",
"lint:css": "stylelint .",
"lint:php": "phpcs",
"fix": "eslint --fix . & stylelint --fix . & phpcbf",
"fix:js": "eslint --fix .",
"fix:css": "stylelint --fix .",
"fix:php": "phpcbf"
},
"repository": {
"type": "git",
"url": "git+https://github.com/musosoft/codewpcs.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/musosoft/codewpcs/issues"
},
"homepage": "https://github.com/musosoft/codewpcs#readme",
"dependencies": {
"@wordpress/browserslist-config": "^5.23.0",
"@wordpress/eslint-plugin": "^15.0.0",
"@wordpress/prettier-config": "^2.23.0",
"@wordpress/stylelint-config": "^21.23.0"
},
"devDependencies": {
"browserslist": "^4.21.10",
"eslint": "^8.47.0",
"prettier": "npm:wp-prettier@^2.8.5"
}
}