UNPKG

json-expression-eval

Version:

json serializable rule engine / boolean expression evaluator

72 lines (71 loc) 1.94 kB
{ "name": "json-expression-eval", "version": "7.1.0", "description": "json serializable rule engine / boolean expression evaluator", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": "^14 || ^16 || ^18 || ^20" }, "scripts": { "test": "yarn lint && yarn test:tsd && yarn test:cover", "test:tsd": "tsd", "test:unit": "mocha --config src/test/.mocharc.json", "build": "yarn lint && yarn compile", "compile": "./node_modules/.bin/tsc", "test:cover": "nyc --reporter=lcov --reporter=text-summary mocha --config src/test/.mocharc.json", "lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'", "ci": "yarn lint && yarn compile && yarn test:tsd && yarn test:cover" }, "repository": { "type": "git", "url": "git+https://github.com/regevbr/json-expression-eval.git" }, "keywords": [ "evaluate", "serializable", "expression", "json", "dynamic", "function", "boolean", "node", "js", "javascript", "eval", "rule", "engine", "rule-engine", "typescript" ], "author": "Regev Brody <regevbr@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/regevbr/json-expression-eval/issues" }, "homepage": "https://github.com/regevbr/json-expression-eval#readme", "tsd": { "directory": "src/test/types" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "1.0.2", "@types/chai": "^4.3.4", "@types/chai-as-promised": "^7.1.5", "@types/mocha": "^10.0.1", "@types/node": "^18.14.2", "@types/underscore": "^1.11.4", "chai": "^4.3.7", "chai-as-promised": "^7.1.1", "mocha": "^10.2.0", "moment": "^2.29.4", "nyc": "^15.1.0", "source-map-support": "^0.5.21", "ts-node": "^10.9.1", "tsd": "^0.25.0", "tslint": "^6.1.3", "typescript": "^4.9.5" }, "dependencies": { "ts-toolbelt": "^9.6.0" } }