50 lines
1.7 KiB
JSON
50 lines
1.7 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.0.6",
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^5.1.1",
|
|
"@actions/http-client": "^2.0.1",
|
|
"@actions/tool-cache": "^2.0.1",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/tmp": "^0.2.3",
|
|
"tmp": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.41.0",
|
|
"@vercel/ncc": "^0.34.0",
|
|
"eslint": "^8.26.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
"prettier": "^2.7.1",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|