add-pr-comment/package.json
Michael Shick b8f338c590
2.8.2
2024-02-01 13:43:55 -05:00

153 lines
3.6 KiB
JSON

{
"name": "@mshick/add-pr-comment",
"version": "2.8.2",
"description": "A GitHub Action which adds a comment to a Pull Request Issue.",
"keywords": [
"GitHub",
"Actions",
"javascript",
"pull request",
"comments",
"pr"
],
"homepage": "https://github.com/mshick/add-pr-comment#readme",
"bugs": {
"url": "https://github.com/mshick/add-pr-comment/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mshick/add-pr-comment.git"
},
"license": "MIT",
"author": "Michael Shick <m@shick.us>",
"main": "lib/main.js",
"scripts": {
"build": "del-cli dist && tsc && ncc build --source-map",
"clean": "rm -rf node_modules dist package-lock.json __tests__/runner/**/*",
"lint": "eslint src/**/*.ts",
"prepare": "npm run build && git add lib dist",
"release": "npm run build && np --no-publish",
"test": "vitest run",
"watch": "vitest"
},
"prettier": {
"bracketSpacing": true,
"jsxSingleQuote": true,
"printWidth": 100,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
},
"eslintConfig": {
"env": {
"node": true
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"rules": {
"capitalized-comments": "off",
"no-console": "error",
"no-unreachable": "error"
},
"overrides": [
{
"files": [
"**/*.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"extends": [
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
},
{
"files": [
"**/*.test.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"extends": [
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
{
"files": [
"*.json"
],
"plugins": [
"json-format"
]
},
{
"files": [
"*.mdx",
"*.md"
],
"settings": {
"mdx/code-blocks": false,
"mdx/language-mapper": {}
},
"extends": "plugin:mdx/recommended",
"rules": {
"indent": "off"
}
}
]
},
"eslintIgnore": [
"tsconfig.json",
"dist"
],
"dependencies": {
"@actions/artifact": "^1.1.1",
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@actions/glob": "^0.4.0",
"@actions/http-client": "^2.1.0"
},
"devDependencies": {
"@octokit/types": "^9.1.2",
"@types/node": "^18.15.13",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vercel/ncc": "^0.36.1",
"del-cli": "^5.0.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-prettier": "^4.2.1",
"msw": "^1.2.1",
"nock": "^13.3.0",
"np": "^7.7.0",
"prettier": "^2.8.7",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},
"engines": {
"node": "^16.13.0 || ^18.0.0 || ^20.0.0"
}
}