rockchalkwushock/how-to-open-source

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "how-to-open-source",
  "version": "0.0.0-development",
  "license": "MIT",
  "description": "A repository for learning how to publish NPM packages as well as contribute to open source projects.",
  "author": "Cody Brunner <rockchalkwushock@icloud.com> (https://codybrunner.me)",
  "homepage": "https://github.com/rockchalkwushock/how-to-open-source#readme",
  "repository": "https://github.com/rockchalkwushock/how-to-open-source.git",
  "bugs": "https://github.com/rockchalkwushock/how-to-open-source/issues",
  "browser": "dist/how-to-open-source.js",
  "main": "lib/index.js",
  "module": "es/index.js",
  "files": [
    "dist",
    "es",
    "lib"
  ],
  "keywords": [
    "commitizen",
    "eslint",
    "flow",
    "npm",
    "nps",
    "open-source",
    "rollup",
    "semantic-release",
    "yarn"
  ],
  "scripts": {
    "build": "nps build",
    "cm": "nps commit",
    "start": "nps",
    "test": "nps test"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "eslintConfig": {
    "env": {
      "jest": true,
      "node": true
    },
    "extends": [
      "equimper",
      "prettier"
    ],
    "plugins": [
      "flowtype"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "nps validate.withCoverage && lint-staged"
    }
  },
  "jest": {
    "bail": true,
    "collectCoverageFrom": [
      "src/*.js"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "lines": 100,
        "statements": 100
      }
    },
    "testEnvironment": "node",
    "testPathIgnorePatterns": [
      "/utils/"
    ]
  },
  "lint-staged": {
    "*.js": [
      "prettier --single-quote --no-semi --write",
      "git add"
    ]
  },
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.0",
    "babel-plugin-external-helpers": "^6.22.0",
    "babel-preset-env": "^1.6.0",
    "babel-preset-flow": "^6.23.0",
    "codecov": "^3.0.0",
    "commitizen": "^2.9.6",
    "cz-conventional-changelog": "^2.1.0",
    "eslint": "^4.9.0",
    "eslint-config-equimper": "^2.2.2",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-flowtype": "^2.46.1",
    "flow-bin": "^0.66.0",
    "husky": "^0.15.0-rc.8",
    "jest": "^22.4.2",
    "lint-staged": "^7.0.0",
    "nps": "^5.8.1",
    "nps-utils": "^1.5.0",
    "prettier": "^1.11.1",
    "rollup": "^0.56.4",
    "rollup-plugin-babel": "^3.0.3",
    "rollup-plugin-cleanup": "^2.0.0",
    "rollup-plugin-flow": "^1.1.1",
    "rollup-plugin-gzip": "^1.3.0",
    "rollup-plugin-uglify": "^3.0.0",
    "semantic-release": "^12.4.1",
    "snyk": "^1.69.10"
  }
}