rjrodger/patrun

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "patrun",
  "version": "7.2.7",
  "main": "dist/patrun.js",
  "browser": "dist/patrun.min.js",
  "types": "dist/patrun.d.ts",
  "description": "A fast pattern matcher on JavaScript object properties.",
  "homepage": "https://github.com/rjrodger/patrun",
  "keywords": [
    "pattern",
    "matcher",
    "object",
    "property",
    "json"
  ],
  "author": "Richard Rodger (http://richardrodger.com)",
  "repository": {
    "type": "git",
    "url": "git://github.com/rjrodger/patrun.git"
  },
  "scripts": {
    "watch": "tsc -w -d",
    "test": "lab -v -L -P test -t 90 --sourcemaps --transform node_modules/lab-transform-typescript -r console -o stdout -r html -o test/coverage.html",
    "test-web": "browserify -o test-web/test-web.js -e test/patrun.test.js -s Patrun -im -i assert -i @hapi/lab && open test-web/index.html",
    "coveralls": "lab -s -P test -r lcov | coveralls",
    "prettier": "prettier --write --no-semi --single-quote *.ts test/*.js",
    "build": "tsc -d && cp dist/patrun.js dist/patrun.min.js && browserify -o dist/patrun.min.js -e dist/patrun.js -s Patrun -im -i assert -p tinyify",
    "clean": "rm -rf node_modules yarn.lock package-lock.json",
    "reset": "npm run clean && npm i && npm run build && npm test",
    "repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
    "repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
    "repo-publish-quick": "npm run prettier && npm run build && npm run test && npm run test-web && npm run repo-tag && npm publish --registry https://registry.npmjs.org "
  },
  "license": "MIT",
  "files": [
    "patrun.ts",
    "dist",
    "LICENSE"
  ],
  "contributors": [
    "Adrien Becchis (https://github.com/AdrieanKhisbe)"
  ],
  "dependencies": {
    "gex": "^4.0.1"
  },
  "devDependencies": {
    "@hapi/code": "^9.0.3",
    "@hapi/lab": "^25.2.0",
    "@types/node": "^20.14.10",
    "benchmark": "^2.1.4",
    "browserify": "^17.0.0",
    "coveralls": "^3.1.1",
    "hapi-lab-shim": "0.0.2",
    "jsonic": "^1.0.1",
    "lab-transform-typescript": "^3.0.1",
    "prettier": "^3.3.3",
    "serve": "^14.2.3",
    "tinyify": "^4.0.0",
    "typescript": "^5.5.3"
  }
}