53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"name": "golanci-lint-action",
|
|
"version": "3.1.0",
|
|
"private": true,
|
|
"description": "golangci-lint github action",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"build": "tsc && ncc build -o dist/run/ src/main.ts && ncc build -o dist/post_run/ src/post_main.ts",
|
|
"watched_build_main": "tsc && ncc build -w -o dist/run/ src/main.ts",
|
|
"watched_build_post_main": "tsc && ncc build -w -o dist/post_run/ src/post_main.ts",
|
|
"type-check": "tsc",
|
|
"lint": "eslint --max-warnings 1 **/*.ts --cache",
|
|
"lint-fix": "eslint **/*.ts --cache --fix",
|
|
"format": "prettier --write **/*.ts",
|
|
"format-check": "prettier --check **/*.ts",
|
|
"all": "npm run build && npm run format-check && npm run lint",
|
|
"local": "npm run build && act -j test -b",
|
|
"local-full-version": "npm run build && act -j test-full-version -b"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/golangci/golangci-lint-action.git"
|
|
},
|
|
"author": "golangci",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/cache": "^3.2.4",
|
|
"@actions/core": "^1.11.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^6.0.0",
|
|
"@actions/http-client": "^2.2.3",
|
|
"@actions/tool-cache": "^2.0.1",
|
|
"@types/node": "^22.7.4",
|
|
"@types/semver": "^7.5.8",
|
|
"@types/tmp": "^0.2.6",
|
|
"@types/which": "^3.0.4",
|
|
"tmp": "^0.2.3",
|
|
"which": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
"@typescript-eslint/parser": "^8.8.0",
|
|
"@vercel/ncc": "^0.38.2",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^5.6.2"
|
|
}
|
|
}
|