mirror of
https://github.com/actions/stale.git
synced 2025-12-23 08:58:17 +00:00
* feat(exempt): add new options to exempt the milestones closes #270 * test(milestones): add coverage * test(issue): add coverage * chore(rebase): fix all errors due to the rebase also made some changes regarding the change I made with the lint scripts and prettier. I did not saw that some scripts were already here and I created to more to keep the old ones as well * test(milestone): add coverage * chore(index): update index * fix(checks): remove checks over optional number options the code was actually handling the case where the values are NaN so it's fine
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "stale-action",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"description": "Marks old issues and PRs as stale",
|
|
"main": "lib/main.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"format": "prettier --write --ignore-unknown **/*.{md,json,yml,ts}",
|
|
"format-check": "prettier --check --ignore-unknown **/*.{md,json,yml,ts}",
|
|
"lint": "eslint src/**/*.ts",
|
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
"lint:all": "npm run format-check && npm run lint",
|
|
"lint:all:fix": "npm run format && npm run lint:fix",
|
|
"pack": "ncc build",
|
|
"test": "jest",
|
|
"all": "npm run build && npm run format && npm run lint && npm run pack && npm test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/stale.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"stale"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/github": "^4.0.0",
|
|
"@octokit/rest": "^18.0.12",
|
|
"lodash.deburr": "^4.1.0",
|
|
"semver": "^7.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.15",
|
|
"@types/lodash.deburr": "^4.1.6",
|
|
"@types/node": "^14.14.21",
|
|
"@types/semver": "^7.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.13.0",
|
|
"@typescript-eslint/parser": "^4.13.0",
|
|
"@vercel/ncc": "^0.27.0",
|
|
"eslint": "^7.18.0",
|
|
"eslint-plugin-github": "^4.0.1",
|
|
"eslint-plugin-jest": "^24.1.3",
|
|
"jest": "^26.6.3",
|
|
"jest-circus": "^26.6.3",
|
|
"js-yaml": "^4.0.0",
|
|
"prettier": "^2.2.1",
|
|
"ts-jest": "^26.4.4",
|
|
"typescript": "^4.1.3"
|
|
}
|
|
}
|