UNPKG

@andreasnicolaou/typescript-expression-language

Version:
147 lines (146 loc) 3.7 kB
{ "name": "@andreasnicolaou/typescript-expression-language", "version": "1.5.2", "description": "TypeScript implementation of symfony/expression-language", "main": "dist/index.cjs", "module": "dist/index.js", "browser": "dist/index.umd.js", "private": false, "types": "dist/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md" ], "scripts": { "build": "rollup -c", "format": "prettier --write .", "format:check": "prettier --check .", "format:check:hook": "npm run format:check", "lint": "eslint --fix", "test": "jest", "test:ci": "cross-env JEST_JUNIT_CLASSNAME=\"{filepath}\" jest --reporters=default --reporters=jest-junit", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:bundle": "node scripts/check-bundle-size.js", "build:check": "npm run build && npm run test:bundle", "prepare": "husky", "prepublishOnly": "npm run build" }, "homepage": "https://andreasnicolaou.github.io/typescript-expression-language/", "repository": { "type": "git", "url": "https://github.com/andreasnicolaou/typescript-expression-language.git" }, "bugs": { "url": "https://github.com/andreasnicolaou/typescript-expression-language/issues" }, "author": { "name": "Andreas Nicolaou", "email": "anicolaou66@gmail.com" }, "license": "MIT", "sideEffects": false, "bundle-size": [ { "path": "dist/index.js", "limit": "40kB", "gzip": true }, { "path": "dist/index.cjs", "limit": "40kB", "gzip": true }, { "path": "dist/index.umd.js", "limit": "40kB", "gzip": true }, { "path": "dist/index.umd.min.js", "limit": "20kB", "gzip": true } ], "jest": { "transform": { "^.+\\.(ts)$": [ "ts-jest" ] }, "testEnvironment": "node", "testPathIgnorePatterns": [ "/node_modules/", "/dist/" ] }, "devDependencies": { "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.3.0", "@types/jest": "^30.0.0", "@types/locutus": "^0.0.8", "@types/node": "^25.0.1", "@typescript-eslint/eslint-plugin": "^8.49.0", "@typescript-eslint/parser": "^8.49.0", "cross-env": "^10.1.0", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "globals": "^16.5.0", "husky": "^9.1.7", "jest": "^30.2.0", "jest-junit": "^16.0.0", "locutus": "^2.0.32", "lru-cache": "^11.2.4", "prettier": "3.7.4", "prettier-plugin-organize-imports": "^4.3.0", "rollup": "^4.53.3", "rollup-plugin-dts": "^6.3.0", "ts-jest": "^29.4.6", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.9.3" }, "keywords": [ "symfony", "expression", "javascript", "language", "expression-language", "typescript", "andreasnicolaou", "expression language", "filter", "rules", "parser", "ast", "evaluator", "custom functions", "safe eval", "formula", "calculation", "runtime", "dynamic", "condition", "validation", "lexer", "compiler", "syntax", "esm", "cjs", "umd", "mathematical", "logical", "operators" ] }