close-potential-duplicates/package.json
2020-09-28 16:43:10 +08:00

68 lines
1.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "potential-duplicates",
"description": "A Github Action to search for potential issue duplicates using DamerauLevenshtein algorithm.",
"version": "1.0.1",
"main": "dist/index.js",
"repository": "https://github.com/bubkoo/potential-duplicates",
"author": "bubkoo <bubkoo.wy@gmail.com>",
"license": "MIT",
"files": [
"dist",
"action.yml"
],
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -c tslint.json -p tsconfig.json --fix",
"build": "ncc build src/index.ts --minify --v8-cache",
"prebuild": "run-s lint clean",
"precommit": "lint-staged"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && yarn precommit"
}
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"pretty-quick — staged"
],
"src/**/*.ts": [
"tslint -c tslint.json -p ./tsconfig.json --fix"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"js-yaml": "^3.14.0",
"mustache": "^4.0.1"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/mustache": "^4.0.1",
"@types/js-yaml": "^3.12.5",
"@types/node": "^14.0.27",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"@vercel/ncc": "^0.24.1",
"eslint": "^7.9.0",
"husky": "^4.3.0",
"lint-staged": "^10.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"rimraf": "^3.0.2",
"tslint": "^6.1.3",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^4.0.3"
}
}