tunnckoCore/function-arguments

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "function-arguments",
  "version": "1.0.9",
  "description": "Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.",
  "repository": "tunnckoCore/function-arguments",
  "author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)",
  "precommit.silent": true,
  "main": "index.js",
  "types": "index.d.ts",
  "typings": "index.d.ts",
  "license": "MIT",
  "scripts": {
    "lint": "standard --verbose",
    "pretest": "npm run lint",
    "test": "npm run coverage",
    "posttest": "npm run lint:coverage",
    "coverage": "nyc node test.js",
    "lint:coverage": "nyc check-coverage --lines 100 --branches 83 --statements 100 --functions 100",
    "report-coverage": "nyc report --reporter=text-lcov | coveralls",
    "prerelease": "npm test",
    "release": "standard-version --sign --no-verify",
    "precommit": "git add --all",
    "commit": "git-cz"
  },
  "dependencies": {},
  "devDependencies": {
    "commitizen": "^2.8.6",
    "coveralls": "^2.11.12",
    "cz-conventional-changelog": "^1.2.0",
    "mukla": "^0.4.1",
    "nyc": "^8.1.0",
    "pre-commit": "^1.1.3",
    "standard": "^8.4.0",
    "standard-version": "^2.4.0"
  },
  "funding": {
    "url": "https://ko-fi.com/tunnckoCore/commissions"
  },
  "files": [
    "index.js",
    "index.d.ts"
  ],
  "keywords": [
    "args",
    "arguments",
    "arrow",
    "arrow-function",
    "arrows",
    "dependency",
    "deps",
    "fn",
    "func",
    "function",
    "function-arguments",
    "generator",
    "generators",
    "get",
    "inject",
    "injectors",
    "parameters",
    "params",
    "regular",
    "useful"
  ],
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "verb": {
    "run": true,
    "toc": false,
    "layout": "empty",
    "tasks": [
      "readme"
    ],
    "related": {
      "list": [
        "parse-function",
        "get-fn-name",
        "fn-name",
        "flatten-arguments",
        "handle-arguments",
        "manage-arguments",
        "fn-args"
      ]
    },
    "lint": {
      "reflinks": true
    },
    "reflinks": [
      "fn-name",
      "is-callback-function",
      "sliced"
    ]
  }
}