voxgig/seneca-msg-test

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "seneca-msg-test",
  "version": "4.1.0",
  "description": "Structured testing of seneca plugin messages.",
  "main": "dist/msg-test.js",
  "type": "commonjs",
  "types": "dist/msg-test.d.ts",
  "scripts": {
    "watch": "tsc -w -d",
    "build": "tsc -d",
    "test": "lab -v -P test -L -t 80 -I AggregateError,atob,btoa,AbortController,AbortSignal,EventTarget,Event,MessageChannel,MessagePort,MessageEvent,performance -r console -o stdout -r html -o test/coverage.html -r lcov -o test/lcov.info",
    "test-some": "lab -v -P test -g",
    "prettier": "prettier --write --no-semi --single-quote *.js test/*.js",
    "clean": "rm -rf node_modules yarn.lock package-lock.json dist",
    "reset": "npm run clean && npm i && 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 repo-tag && npm publish --registry https://registry.npmjs.org --access public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/voxgig/seneca-msg-test.git"
  },
  "keywords": [
    "seneca",
    "msg",
    "test"
  ],
  "author": "Richard Rodger richardrodger.com",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/voxgig/seneca-msg-test/issues"
  },
  "homepage": "https://github.com/voxgig/seneca-msg-test#readme",
  "files": [
    "dist",
    "src/**/*.ts",
    "LICENSE"
  ],
  "engines": {
    "node": ">=16"
  },
  "dependencies": {
    "inks": "^2.0.0",
    "jsonic": "^1.0.1",
    "optioner": "^5.0.1"
  },
  "devDependencies": {
    "typescript": "^5.3.3",
    "@hapi/code": "8",
    "@hapi/lab": "23",
    "coveralls": "^3.1.1",
    "prettier": "^2.6.2"
  },
  "peerDependencies": {
    "seneca": ">=3",
    "seneca-entity": ">=25",
    "seneca-promisify": ">=2"
  }
}