@usex/rule-engine
Version:
The ultimate JSON-based rule engine that turns complex business logic into declarative configurations. Built for developers who believe code should be expressive, not repetitive.
90 lines • 2.79 kB
JSON
{
"name": "@usex/rule-engine",
"type": "module",
"version": "0.0.2",
"description": "The ultimate JSON-based rule engine that turns complex business logic into declarative configurations. Built for developers who believe code should be expressive, not repetitive.",
"author": {
"name": "Ali Torki",
"email": "ali_4286@live.com",
"url": "https://github.com/ali-master"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ali-master/rule-engine.git",
"directory": "packages/core"
},
"keywords": [
"rule-engine",
"business-rules",
"json-rules",
"typescript",
"validation",
"decision-engine",
"rules-processor",
"jsonpath",
"conditional-logic",
"form-validation",
"access-control",
"discount-engine",
"workflow",
"nodejs",
"browser",
"operators",
"expressions"
],
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/esm/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=18.12.0"
},
"peerDependencies": {
"@persian-tools/persian-tools": "^3.6.0",
"date-fns": "^4.1.0",
"eventemitter3": "^5.0.1",
"jsonpath-plus": "^10.3.0",
"ramda": "^0.30.1"
},
"dependencies": {
"eventemitter3": "^5.0.1",
"jsonpath-plus": "^10.3.0"
},
"devDependencies": {
"@types/ramda": "^0.30.2",
"axios": "^1.9.0",
"tsup": "^8.5.0"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "nodemon ./dist/index.js --watch",
"dev": "tsup-node --watch",
"build": "tsup-node",
"test": "cross-env CI=true vitest --typecheck",
"test:watch": "pnpm run test --watch",
"test:ui": "pnpm run test:watch --ui --coverage.enabled=true",
"test:bench": "pnpm run test bench",
"test:coverage": "pnpm run test run --coverage",
"test:debug": "vitest --inspect-brk --pool forks --poolOptions.forks.singleFork",
"test:debug:watch": "pnpm run test:debug --watch --poolOptions.threads.isolate false",
"inspect": "node-modules-inspector",
"test:types": "tsc --noEmit",
"test:knip": "knip",
"test:knip:fix": "knip --fix",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\"",
"format": "prettier --write \"**/*.{ts,tsx,mdx}\"",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "pnpm run lint --fix",
"prerelease": "pnpm run test",
"release": "cross-env CI=true pnpm run build",
"postrelease": "standard-version && pnpm publish --access public && git push --follow-tags origin master",
"release:beta": "pnpm run build",
"postrelease:beta": "standard-version --prerelease beta && pnpm publish --access public --tag beta && git push --follow-tags origin master"
}
}