WeAreGenki/node-utils

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@wearegenki/node-utils",
  "version": "0.6.0",
  "publishConfig": {
    "access": "public"
  },
  "description": "Reusable utilities for node apps.",
  "license": "Apache-2.0",
  "repository": "https://github.com/WeAreGenki/node-utils",
  "author": "Max Milton <max@wearegenki.com>",
  "homepage": "https://github.com/WeAreGenki/node-utils",
  "bugs": "https://github.com/WeAreGenki/node-utils/issues",
  "main": "dist/index.js",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "scripts": {
    "build": "NODE_ENV=production node build.mjs",
    "dev": "NODE_ENV=development node build.mjs",
    "lint": "yarn lint:md && yarn lint:js && yarn lint:ts",
    "lint:js": "eslint --ext html,js,md,ts .",
    "lint:md": "remark --frail --quiet .",
    "lint:ts": "tsc --noEmit",
    "postbuild": "tsc --emitDeclarationOnly",
    "prebuild": "rm -rf dist; mkdir dist",
    "prepack": "yarn build",
    "prerelease": "yarn prepack && yarn lint && yarn test-ci",
    "release": "yarn publish",
    "test": "jest --coverage --ci",
    "test-dev": "jest --notify --watch"
  },
  "files": [
    "dist"
  ],
  "dependencies": {
    "colorette": "^2.0.0"
  },
  "devDependencies": {
    "esbuild": "0.14.12",
    "eslint": "7.32.0",
    "jest": "26.6.3",
    "minna-tools-essential": "0.36.1-next.57",
    "prettier": "2.5.1",
    "remark-cli": "9.0.0",
    "typescript": "4.5.5"
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "./node_modules/minna-tools-essential/eslint.js"
    ]
  },
  "eslintIgnore": [
    "dist/**",
    "test/coverage/**"
  ],
  "jest": {
    "preset": "minna-tools-essential",
    "collectCoverageFrom": [
      "src/**/*.ts"
    ]
  },
  "prettier": "minna-tools-essential/prettier",
  "remarkConfig": {
    "plugins": [
      "minna-tools-essential/remark"
    ]
  }
}