mirror of
https://github.com/actions/stale.git
synced 2025-12-10 03:57:04 +00:00
* chore(git): ignore .idea folder to avoid adding WebStorm files * test(jest): find all spec files as well * refactor(labels): create a dedicated function to parse the labels at first I thought that the parseCommaSeparatedString method was causing the issue so I move it to a dedicated file to test it since it was private also because I think that this repo could have more clean code and code splitting anyway this was not the root of the #98 issue :/ * fix(label): allow to use spaces inside the labels * docs(isLabeled): add JSDoc * chore(npm): add lint:fix script
53 lines
1.3 KiB
JSON
53 lines
1.3 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 **/*.ts",
|
|
"format-check": "prettier --check **/*.ts",
|
|
"lint": "eslint src/**/*.ts",
|
|
"lint:fix": "eslint src/**/*.ts --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.4",
|
|
"lodash.deburr": "^4.1.0",
|
|
"semver": "^7.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.10",
|
|
"@types/lodash.deburr": "^4.1.6",
|
|
"@types/node": "^14.10.0",
|
|
"@types/semver": "^7.3.1",
|
|
"@typescript-eslint/parser": "^3.10.1",
|
|
"@vercel/ncc": "^0.24.0",
|
|
"eslint": "^7.7.0",
|
|
"eslint-plugin-github": "^4.0.1",
|
|
"eslint-plugin-jest": "^23.20.0",
|
|
"jest": "^24.9.0",
|
|
"jest-circus": "^26.4.2",
|
|
"js-yaml": "^3.14.0",
|
|
"prettier": "^2.1.1",
|
|
"ts-jest": "^24.2.0",
|
|
"typescript": "^4.0.2"
|
|
}
|
|
}
|