woocommerce/packages/js/eslint-plugin/package.json

77 lines
1.7 KiB
JSON
Raw Normal View History

{
"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",
2023-12-18 07:31:49 +00:00
"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": {
2023-12-09 15:12:20 +00:00
"@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",
2023-12-09 15:12:20 +00:00
"eslint-plugin-testing-library": "^5.11.1",
"prettier": "npm:wp-prettier@^2.8.5"
},
"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"
},
"devDependencies": {
2023-12-09 15:12:20 +00:00
"@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"
2022-04-26 22:47:07 +00:00
},
"lint-staged": {
"*.(t|j)s?(x)": [
"pnpm lint:fix"
]
},
"config": {
"ci": {
"lint": {
"command": "lint",
"changes": [
"rules/**/*.js",
"configs/**/*.js"
]
}
}
}
}