micheleriva/mjn

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "mjn",
  "version": "0.2.6",
  "description": "Simple utility to check if a key or a value exists in an object.",
  "main": "./dist/main.js",
  "module": "./dist/main.esm.js",
  "types": "./dist/main.d.ts",
  "author": "Michele Riva <ciao@micheleriva.it>",
  "maintainers": [
    {
      "email": "ciao@micheleriva.it",
      "name": "Michele Riva",
      "url": "https://github.com/micheleriva"
    }
  ],
  "license": "MIT",
  "private": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/micheleriva/mjn"
  },
  "bugs": {
    "url": "https://github.com/micheleriva/mjn/issues"
  },
  "keywords": [
    "undefined behaviour",
    "exception handler",
    "object",
    "error handling",
    "null exception",
    "get",
    "path"
  ],
  "scripts": {
    "build": "rollup -c",
    "dev": "rollup -c -w",
    "test": "jest --coverage",
    "lint": "./node_modules/.bin/eslint ./main.ts",
    "prettier-watch": "onchange '**/*.ts' -- prettier --write {{changed}}"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,md}": [
      "prettier --write",
      "git add"
    ]
  },
  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
    "moduleFileExtensions": [
      "ts",
      "js",
      "json",
      "node"
    ],
    "coverageDirectory": "./coverage/",
    "collectCoverage": true
  },
  "devDependencies": {
    "@types/jest": "23.1.1",
    "codecov": "^3.1.0",
    "eslint": "5.10.0",
    "eslint-config-airbnb-base": "13.1.0",
    "eslint-config-prettier": "3.3.0",
    "eslint-plugin-import": "2.14.0",
    "eslint-plugin-prettier": "3.0.0",
    "husky": "1.3.0",
    "jest": "23.1.0",
    "lint-staged": "8.1.0",
    "onchange": "5.2.0",
    "prettier": "1.15.3",
    "rollup": "^1.0.0",
    "rollup-plugin-bundle-size": "^1.0.3",
    "rollup-plugin-terser": "^3.0.0",
    "rollup-plugin-typescript2": "^0.18.1",
    "rollup-watch": "4.3.1",
    "ts-jest": "22.4.6",
    "typescript": "3.1.1",
    "typescript-eslint-parser": "21.0.2"
  }
}