64 lines
1.4 KiB
JSON
64 lines
1.4 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.6.7"
|
|
},
|
|
"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/parser": "^5.54.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
"@wordpress/eslint-plugin": "14.7.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-testing-library": "^5.10.2",
|
|
"prettier": "npm:wp-prettier@^2.8.5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"prepare": "composer install",
|
|
"changelog": "composer exec -- changelogger",
|
|
"lint": "eslint ./rules ./configs",
|
|
"lint:fix": "eslint ./rules ./configs --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.5",
|
|
"eslint": "^8.32.0",
|
|
"jest": "~27.5.1",
|
|
"jest-cli": "~27.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "~29.1.1",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"lint-staged": {
|
|
"*.(t|j)s?(x)": [
|
|
"pnpm lint:fix"
|
|
]
|
|
}
|
|
}
|