UNPKG

pertain

Version:

Automated pub/sub across project dependencies. Run code from any installed package based on declarative rules in package.json

84 lines (83 loc) 2.58 kB
{ "name": "pertain", "version": "0.2.1", "publishConfig": { "access": "public" }, "description": "Automated pub/sub across project dependencies. Run code from any installed package based on declarative rules in package.json", "main": "pertainCjs.js", "typings": "build/main/index.d.ts", "module": "build/module/index.js", "repository": "https://github.com/zetlen/pertain.git", "keywords": [ "pub/sub", "extensibility", "interceptors", "di", "injection" ], "scripts": { "build": "run-s clean && run-p build:*", "build:main": "tsc -p tsconfig.json", "build:module": "tsc -p tsconfig.module.json", "ci:all": "run-s clean ci:typescript test:lint ci:unit ci:sendcov", "ci:typescript": "run-s \"build:* -- --noEmit --extendedDiagnostics\"", "ci:sendcov": "codecov", "ci:unit": "jest --runInBand --no-bail", "fix": "run-s fix:*", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:lint": "eslint --fix .", "lint": "npm run -s test:lint", "test": "run-s build test:*", "test:unit": "jest", "test:lint": "eslint .", "test:universal": "node testCjs.js", "watch": "run-s \"test:unit -- --watch\"", "cov:html": "npm run test && open-cli coverage/lcov-report/index.html", "version": "standard-version -a", "reset": "git clean -dfx && git reset --hard && npm i", "clean": "rimraf build test", "prepare": "husky install", "prepare-release": "run-s reset test version" }, "author": "James Zetlen <zetlen@gmail.com", "license": "(OSL-3.0 OR AFL-3.0)", "bugs": { "url": "https://github.com/zetlen/pertain/issues" }, "homepage": "https://github.com/zetlen/pertain", "engines": { "node": ">=10" }, "dependencies": { "debug": "^4.3.4", "find-root": "^1.1.0", "object-path": "^0.11.8", "resolve-pkg": "^2.0.0" }, "devDependencies": { "@commitlint/cli": "^17.6.3", "@commitlint/config-conventional": "^17.6.3", "@types/debug": "^4.1.7", "@types/find-root": "^1.1.2", "@types/jest": "^29.5.1", "@types/node": "^20.2.3", "@types/object-path": "^0.11.1", "@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/parser": "^5.59.6", "codecov": "^3.5.0", "eslint": "^8.41.0", "husky": "^8.0.3", "jest": "^29.5.0", "npm-run-all": "^4.1.5", "open-cli": "^7.2.0", "prettier": "^2.8.8", "rimraf": "^5.0.1", "standard-version": "^9.5.0", "ts-jest": "^29.1.0", "typescript": "^5.0.4" }, "prettier": { "singleQuote": true } }