gilbarbara/object-to-dot-notation

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "object-to-dot-notation",
  "version": "0.2.0",
  "description": "Convert simple objects to dot notation",
  "author": "Gil Barbara <gilbarbara@gmail.com>",
  "keywords": [
    "dot",
    "notation",
    "object",
    "converter"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/gilbarbara/object-to-dot-notation.git"
  },
  "bugs": {
    "url": "https://github.com/gilbarbara/object-to-dot-notation/issues"
  },
  "homepage": "https://github.com/gilbarbara/object-to-dot-notation#readme",
  "main": "lib/index.js",
  "module": "esm/index.js",
  "files": [
    "esm",
    "lib",
    "src"
  ],
  "types": "lib",
  "sideEffects": false,
  "dependencies": {},
  "devDependencies": {
    "@gilbarbara/tsconfig": "^0.1.0",
    "@size-limit/preset-small-lib": "^4.9.1",
    "@types/jest": "^26.0.16",
    "@types/node": "^14.14.10",
    "@typescript-eslint/eslint-plugin": "^4.9.1",
    "@typescript-eslint/parser": "^4.9.1",
    "eslint": "^7.15.0",
    "eslint-config-airbnb-base": "^14.2.1",
    "eslint-config-prettier": "^7.0.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-prettier": "^3.2.0",
    "husky": "^4.3.5",
    "jest": "^26.6.3",
    "prettier": "^2.2.1",
    "repo-tools": "^0.2.0",
    "rimraf": "^3.0.2",
    "size-limit": "^4.9.1",
    "ts-jest": "^26.4.4",
    "ts-node": "^9.1.1",
    "typescript": "^4.1.2"
  },
  "scripts": {
    "build": "npm run clean && npm run build:cjs && npm run build:esm",
    "build:cjs": "tsc",
    "build:esm": "tsc -m es6 --outDir esm",
    "watch:cjs": "npm run build:cjs -- -w",
    "watch:esm": "npm run build:esm -- -w",
    "clean": "rimraf lib && rimraf esm",
    "lint": "eslint --ext .ts,.tsx src",
    "test": "jest",
    "test:coverage": "jest --bail --coverage",
    "test:watch": "jest --watchAll --verbose",
    "size": "size-limit",
    "format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
    "validate": "npm run lint && npm run test:coverage && npm run build && npm run size",
    "prepublishOnly": "npm run validate"
  },
  "prettier": {
    "arrowParens": "avoid",
    "printWidth": 100,
    "proseWrap": "never",
    "singleQuote": true,
    "trailingComma": "all"
  },
  "size-limit": [
    {
      "path": "./lib/index.js",
      "limit": "0.5 KB"
    },
    {
      "path": "./esm/index.js",
      "limit": "0.5 KB"
    }
  ],
  "husky": {
    "hooks": {
      "pre-commit": "repo-tools check-remote && npm run validate",
      "post-merge": "repo-tools install-packages"
    }
  }
}