{
  "name": "monofile-utilities",
  "version": "5.0.1",
  "description": "A utilities library for some misc functions.",
  "author": "acrazing <joking.young@gmail.com>",
  "main": "lib/index.js",
  "module": "lib/index.mjs",
  "types": "lib/index.d.ts",
  "files": [
    "assets/",
    "lib/",
    "src/",
    "types/"
  ],
  "bin": {
    "bench": "lib/bench.js"
  },
  "sideEffects": [
    "*.css",
    "*.less",
    "*.scss"
  ],
  "scripts": {
    "build": "run-s clean && run-p build:cjs build:esm && run-s build:esm:rename build:cjs:rename",
    "build:cjs": "tsc --outDir cjs --module commonjs --target es2015",
    "build:cjs:rename": "run-p build:cjs:rename:js build:cjs:rename:map",
    "build:cjs:rename:js": "find ./cjs -type f -name '*.js' | sed -E 's/^\\.\\/cjs\\/(.+)$/\\1/' | xargs -I % mv ./cjs/% ./lib/%",
    "build:cjs:rename:map": "find ./cjs -type f -name '*.js.map' | sed -E 's/^\\.\\/cjs\\/(.+)$/\\1/' | xargs -I % mv ./cjs/% ./lib/%",
    "build:esm": "tsc --outDir lib --module esnext --target es5 --declaration",
    "build:esm:rename": "run-p build:esm:rename:js build:esm:rename:map",
    "build:esm:rename:js": "find ./lib -type f -name '*.js' | sed -E 's/^(.+)\\.js$/\\1/' | xargs -I % mv %.js %.mjs",
    "build:esm:rename:map": "find ./lib -type f -name '*.js.map' | sed -E 's/^(.+)\\.js\\.map$/\\1/' | xargs -I % mv %.js.map %.mjs.map",
    "clean": "rm -rf cjs esm lib build temp .cache",
    "prepublishOnly": "run-s test build",
    "start": "npm run clean && npm run build:esm -- --watch",
    "bench": "ts-node -T -O '{\"module\":\"commonjs\",\"target\":\"esnext\"}' -C ttypescript ./src/bench.ts",
    "test": "jest"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/acrazing/utilities.git"
  },
  "keywords": [
    "utilities",
    "form",
    "map",
    "cookie",
    "storage",
    "validate",
    "nonenumerable"
  ],
  "license": "MIT",
  "devDependencies": {
    "@types/benchmark": "^1.0.31",
    "@types/express": "^4.17.6",
    "@types/jest": "^25.2.1",
    "@types/lodash": "^4.14.149",
    "@types/long": "^4.0.1",
    "@types/node": "^13.11.1",
    "@types/node-fetch": "^2.5.5",
    "@types/yargs": "^15.0.4",
    "benchmark": "^2.1.4",
    "egoroof-blowfish": "^2.2.1",
    "express": "^4.17.1",
    "husky": "^4.2.5",
    "jest": "^25.3.0",
    "lint-staged": "^10.1.3",
    "lodash": "^4.17.15",
    "long": "^4.0.0",
    "node-fetch": "^2.6.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.0.4",
    "ts-jest": "^25.3.1",
    "ts-node": "^8.8.2",
    "ttypescript": "^1.5.10",
    "typescript": "^4.5.2",
    "yargs": "^15.3.1"
  },
  "dependencies": {
    "@types/glob": "^7.2.0",
    "tslib": "^2.3.1"
  },
  "bugs": {
    "url": "https://github.com/acrazing/utilities/issues"
  },
  "cliVersion": "8.4.2",
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx,json,css,less,scss,md}": [
      "prettier --write",
      "git add"
    ]
  },
  "jest": {
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node",
      "mjs"
    ],
    "cacheDirectory": ".cache/jest",
    "collectCoverage": false,
    "collectCoverageFrom": [
      "<rootDir>/src/**/*.{ts,tsx}",
      "!**/*.d.ts"
    ],
    "coverageDirectory": "temp/coverage",
    "globals": {
      "__DEV__": true,
      "ENV": {}
    },
    "testMatch": [
      "<rootDir>/src/**/*.spec.{ts,tsx}"
    ],
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    }
  },
  "prettier": {
    "printWidth": 80,
    "tabWidth": 2,
    "useTabs": false,
    "semi": true,
    "singleQuote": true,
    "jsxSingleQuote": false,
    "trailingComma": "all",
    "bracketSpacing": true,
    "jsxBracketSameLine": false,
    "arrowParens": "always",
    "endOfLine": "lf"
  }
}
