mirror of
https://github.com/actions/add-to-project.git
synced 2026-01-08 02:58:33 +08:00
Improve linting
This commit is contained in:
71
package.json
71
package.json
@@ -1,44 +1,55 @@
|
||||
{
|
||||
"name": "@actions/add-to-project",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "Automatically issues and PRs to GitHub projects",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier --write '**/*.ts'",
|
||||
"format-check": "prettier --check '**/*.ts'",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"package": "ncc build --source-map --license licenses.txt",
|
||||
"test": "jest",
|
||||
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
|
||||
"version": "0.0.0",
|
||||
"author": "GitHub and contributors",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.6.0",
|
||||
"@actions/github": "^5.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/actions/typescript-action.git"
|
||||
"engines": {
|
||||
"node": ">=10.0.0 <17.0.0",
|
||||
"npm": ">= 7.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@github/prettier-config": "^0.0.4",
|
||||
"@types/node": "^12.12.6",
|
||||
"@typescript-eslint/parser": "^5.10.2",
|
||||
"@vercel/ncc": "^0.33.1",
|
||||
"concurrently": "^7.0.0",
|
||||
"eslint": "^8.8.0",
|
||||
"eslint-plugin-github": "^4.3.5",
|
||||
"eslint-plugin-jest": "^26.0.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"jest": "^27.4.7",
|
||||
"prettier": "2.5.1",
|
||||
"ts-jest": "^27.1.3",
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
"node",
|
||||
"setup"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.6.0",
|
||||
"@actions/github": "^5.0.0"
|
||||
"main": "lib/main.js",
|
||||
"prettier": "@github/prettier-config",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/actions/add-to-project.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.10.5",
|
||||
"@typescript-eslint/parser": "^5.8.1",
|
||||
"@vercel/ncc": "^0.31.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-github": "^4.3.2",
|
||||
"eslint-plugin-jest": "^25.3.2",
|
||||
"jest": "^27.2.5",
|
||||
"js-yaml": "^4.1.0",
|
||||
"prettier": "2.5.1",
|
||||
"ts-jest": "^27.1.2",
|
||||
"typescript": "^4.4.4"
|
||||
"scripts": {
|
||||
"build": "npm run fix:format && npm run check && npm run build:compile && npm run build:package",
|
||||
"build:compile": "tsc",
|
||||
"build:package": "ncc build --source-map --license licenses.txt",
|
||||
"check": "concurrently -n check: -c red,green,blue -g npm:check:*",
|
||||
"check:build": "tsc --noEmit",
|
||||
"check:format": "prettier --check .",
|
||||
"check:lint": "eslint .",
|
||||
"fix:format": "prettier --write .",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"package": "ncc build --source-map --license licenses.txt",
|
||||
"test": "jest"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user