woocommerce/tools/code-analyzer/package.json

69 lines
1.5 KiB
JSON

{
"name": "code-analyzer",
"version": "1.0.0",
"description": "A tool to analyze code changes in WooCommerce Monorepo.",
"author": "Automattic",
"homepage": "https://github.com/woocommerce/woocommerce",
"license": "GPLv2",
"repository": "woocommerce/woocommerce",
"private": true,
"types": "dist/index.d.ts",
"scripts": {
"analyzer": "node -r ts-node/register ./src/commands/analyzer/index.ts",
"lint": "eslint . --ext .ts",
"test": "pnpm test:js",
"test:js": "jest"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@commander-js/extra-typings": "^10.0.3",
"@oclif/core": "^2.15.0",
"@tsconfig/node16": "^1.0.4",
"@types/uuid": "^8.3.4",
"@woocommerce/monorepo-utils": "workspace:*",
"commander": "^9.5.0",
"dotenv": "^10.0.0",
"simple-git": "^3.21.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^16.18.68",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.55.0",
"jest": "~27.5.1",
"ts-jest": "~29.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"wireit": "0.14.3"
},
"engines": {
"node": "^20.11.1",
"pnpm": "9.1.3"
},
"config": {
"ci": {
"lint": {
"command": "lint",
"changes": "src/**/*.ts"
},
"tests": [
{
"name": "JavaScript",
"command": "test:js",
"changes": [
"jest.config.js",
"tsconfig.json",
"src/**/*.ts"
],
"events": [
"pull_request",
"push"
]
}
]
}
}
}