2020-07-28 02:32:58 +00:00
|
|
|
{
|
|
|
|
"name": "@woocommerce/eslint-plugin",
|
2022-07-08 02:04:49 +00:00
|
|
|
"version": "2.2.0",
|
2020-07-28 02:32:58 +00:00
|
|
|
"description": "ESLint plugin for WooCommerce development.",
|
2023-12-06 19:36:12 +00:00
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"engines": {
|
|
|
|
"node": "^16.14.1",
|
|
|
|
"pnpm": "^8.6.7"
|
|
|
|
},
|
2020-07-28 02:32:58 +00:00
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce",
|
|
|
|
"eslint",
|
|
|
|
"plugin"
|
|
|
|
],
|
2022-04-07 08:50:40 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/eslint-plugin/README.md",
|
2020-07-28 02:32:58 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-04-07 08:50:40 +00:00
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git",
|
2020-07-28 02:32:58 +00:00
|
|
|
"directory": "packages/eslint-plugin"
|
|
|
|
},
|
2023-12-06 19:36:12 +00:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
2020-07-28 02:32:58 +00:00
|
|
|
"files": [
|
|
|
|
"configs",
|
|
|
|
"rules",
|
|
|
|
"index.js"
|
|
|
|
],
|
2023-12-06 19:36:12 +00:00
|
|
|
"main": "index.js",
|
2020-07-28 02:32:58 +00:00
|
|
|
"dependencies": {
|
2023-12-09 15:12:20 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
|
|
"@typescript-eslint/parser": "^5.62.0",
|
2023-05-30 23:45:10 +00:00
|
|
|
"@wordpress/eslint-plugin": "14.7.0",
|
2023-03-01 22:36:38 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2023-12-09 15:12:20 +00:00
|
|
|
"eslint-plugin-testing-library": "^5.11.1",
|
2023-05-30 23:45:10 +00:00
|
|
|
"prettier": "npm:wp-prettier@^2.8.5"
|
2020-07-28 02:32:58 +00:00
|
|
|
},
|
2023-12-06 19:36:12 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-11-02 22:13:46 +00:00
|
|
|
"changelog": "composer install && composer exec -- changelogger",
|
2023-11-28 22:50:43 +00:00
|
|
|
"lint": "pnpm --if-present '/^lint:lang:.*$/'",
|
|
|
|
"lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'",
|
2023-11-02 22:13:46 +00:00
|
|
|
"lint:fix:lang:js": "eslint ./rules ./configs --fix",
|
|
|
|
"lint:lang:js": "eslint ./rules ./configs"
|
2023-12-06 19:36:12 +00:00
|
|
|
},
|
2022-03-15 03:04:46 +00:00
|
|
|
"devDependencies": {
|
2023-12-09 15:12:20 +00:00
|
|
|
"@babel/core": "^7.23.5",
|
|
|
|
"eslint": "^8.55.0",
|
2023-12-05 08:36:30 +00:00
|
|
|
"jest": "~27.5.1",
|
|
|
|
"jest-cli": "~27.5.1",
|
2022-03-15 03:04:46 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2023-12-05 08:36:30 +00:00
|
|
|
"ts-jest": "~29.1.1",
|
2023-10-23 21:05:59 +00:00
|
|
|
"typescript": "^5.3.3",
|
2023-12-10 05:56:12 +00:00
|
|
|
"wireit": "0.14.1"
|
2022-04-26 22:47:07 +00:00
|
|
|
},
|
2023-12-06 19:36:12 +00:00
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
|
|
|
"pnpm lint:fix"
|
|
|
|
]
|
2020-07-28 02:32:58 +00:00
|
|
|
}
|
|
|
|
}
|