package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "version": "3.0.0",
  3. "main": "lib/main.js",
  4. "scripts": {
  5. "build": "tsc",
  6. "lint": "eslint --fix '**/*.ts'",
  7. "pack": "ncc build"
  8. },
  9. "dependencies": {
  10. "@actions/core": "1.2.3",
  11. "@actions/github": "2.1.1"
  12. },
  13. "devDependencies": {
  14. "@types/node": "13.13.0",
  15. "@typescript-eslint/eslint-plugin": "2.28.0",
  16. "@typescript-eslint/parser": "2.28.0",
  17. "@zeit/ncc": "0.22.1",
  18. "eslint": "6.8.0",
  19. "eslint-config-prettier": "6.15.0",
  20. "eslint-plugin-prettier": "3.1.3",
  21. "prettier": "2.0.4",
  22. "typescript": "3.8.3"
  23. },
  24. "eslintConfig": {
  25. "parser": "@typescript-eslint/parser",
  26. "extends": [
  27. "plugin:@typescript-eslint/recommended",
  28. "prettier/@typescript-eslint",
  29. "plugin:prettier/recommended"
  30. ],
  31. "parserOptions": {
  32. "ecmaVersion": 2019,
  33. "sourceType": "module"
  34. },
  35. "rules": {
  36. "no-unused-vars": "off",
  37. "sort-imports": [
  38. "error",
  39. {
  40. "ignoreCase": false,
  41. "ignoreDeclarationSort": false,
  42. "ignoreMemberSort": false,
  43. "memberSyntaxSortOrder": [
  44. "none",
  45. "all",
  46. "multiple",
  47. "single"
  48. ]
  49. }
  50. ],
  51. "@typescript-eslint/camelcase": "off",
  52. "@typescript-eslint/no-unused-vars": "error",
  53. "@typescript-eslint/no-var-requires": "off"
  54. }
  55. },
  56. "prettier": {
  57. "arrowParens": "avoid",
  58. "semi": false,
  59. "trailingComma": "all",
  60. "singleQuote": false,
  61. "printWidth": 120,
  62. "tabWidth": 4
  63. }
  64. }