77 lines
1.7 KiB
JSON
77 lines
1.7 KiB
JSON
{
|
|
"name": "@woocommerce/eslint-plugin",
|
|
"version": "2.2.0",
|
|
"description": "ESLint plugin for WooCommerce development.",
|
|
"author": "Automattic",
|
|
"license": "GPL-2.0-or-later",
|
|
"engines": {
|
|
"node": "^16.14.1",
|
|
"pnpm": "^8.12.1"
|
|
},
|
|
"keywords": [
|
|
"wordpress",
|
|
"woocommerce",
|
|
"eslint",
|
|
"plugin"
|
|
],
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/eslint-plugin/README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/woocommerce/woocommerce.git",
|
|
"directory": "packages/eslint-plugin"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
},
|
|
"files": [
|
|
"configs",
|
|
"rules",
|
|
"index.js"
|
|
],
|
|
"main": "index.js",
|
|
"dependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"@wordpress/eslint-plugin": "14.7.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-testing-library": "^5.11.1",
|
|
"prettier": "npm:wp-prettier@^2.8.5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"changelog": "composer install && composer exec -- changelogger",
|
|
"lint": "pnpm --if-present '/^lint:lang:.*$/'",
|
|
"lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'",
|
|
"lint:fix:lang:js": "eslint ./rules ./configs --fix",
|
|
"lint:lang:js": "eslint ./rules ./configs"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.5",
|
|
"eslint": "^8.55.0",
|
|
"jest": "~27.5.1",
|
|
"jest-cli": "~27.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "~29.1.1",
|
|
"typescript": "^5.3.3",
|
|
"wireit": "0.14.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.(t|j)s?(x)": [
|
|
"pnpm lint:fix"
|
|
]
|
|
},
|
|
"config": {
|
|
"ci": {
|
|
"lint": {
|
|
"command": "lint",
|
|
"changes": [
|
|
"rules/**/*.js",
|
|
"configs/**/*.js"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|