UNPKG

ts-flex-query

Version:
108 lines (107 loc) 3.61 kB
{ "name": "ts-flex-query", "version": "1.7.0", "description": "Flexible and type-safe data queries", "type": "commonjs", "main": "index.js", "types": "index.d.ts", "files": [ "**", "!**/*.js.map", "!**/*.spec.d.ts", "!**/*.spec.js" ], "exports": { ".": { "types": "./index.d.ts", "default": "./index.js" }, "./expressions": { "types": "./expressions/index.d.ts", "default": "./expressions/index.js" }, "./functions": { "types": "./functions/index.d.ts", "default": "./functions/index.js" }, "./odata": { "types": "./odata/index.d.ts", "default": "./odata/index.js" }, "./operators": { "types": "./operators/index.d.ts", "default": "./operators/index.js" }, "./types": { "types": "./types/index.d.ts", "default": "./types/index.js" } }, "scripts": { "build": "npm run ps -- if (Test-Path ./lib) { Remove-Item ./lib -Recurse -Force } && npm run tsc -- -p ./tsconfig.json && npm run ps -- Copy-Item CHANGELOG.md, LICENSE, package.json, README.md lib", "build-and-test": "npm run build && npm run test", "build-with-samples": "npm run build && npm run tsc -- -p ./samples/tsconfig.json && npm run tsc-5.8 -- -p ./samples/tsconfig.json && npm run tsc-5.7 -- -p ./samples/tsconfig.json && npm run tsc-5.6 -- -p ./samples/tsconfig.json && npm run tsc-5.5 -- -p ./samples/tsconfig.json && npm run tsc-5.4 -- -p ./samples/tsconfig.json", "do-publish": "npm run prepare-publish && npm publish ./lib", "lint": "eslint ./src", "lint-fix": "eslint ./src --fix", "prepare-publish": "npm run build-with-samples && npm run test && npm run lint", "ps": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command", "test": "jest --config=jest-prod.config.mjs", "tsc-5.4": "node ./node_modules/typescript-5.4/bin/tsc", "tsc-5.5": "node ./node_modules/typescript-5.5/bin/tsc", "tsc-5.6": "node ./node_modules/typescript-5.6/bin/tsc", "tsc-5.7": "node ./node_modules/typescript-5.7/bin/tsc", "tsc-5.8": "node ./node_modules/typescript-5.8/bin/tsc", "tsc": "node ./node_modules/typescript/bin/tsc" }, "repository": { "type": "git", "url": "git+https://github.com/black-comb/ts-flex-query.git" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "keywords": [ "data", "query", "odata" ], "author": "Marko Martin", "license": "MIT", "bugs": { "url": "https://github.com/black-comb/ts-flex-query/issues" }, "homepage": "https://github.com/black-comb/ts-flex-query#readme", "devDependencies": { "@eslint/compat": "^1.3.2", "@stylistic/eslint-plugin": "^5.3.1", "@types/jest": "^30.0.0", "@types/lodash": "^4.17.20", "axios": "^1.11.0", "eslint": "^9.35.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-blackcomb-defaults": "^2.1.0", "eslint-plugin-deprecation": "^3.0.0", "eslint-plugin-import": "^2.32.0", "eslint-plugin-import-newlines": "^1.4.0", "jest": "^30.1.3", "ts-jest": "^29.4.1", "ts-node": "^10.9.2", "typescript": "~5.9.2", "typescript-5.4": "npm:typescript@~5.4.5", "typescript-5.5": "npm:typescript@~5.5.4", "typescript-5.6": "npm:typescript@~5.6.3", "typescript-5.7": "npm:typescript@~5.7.3", "typescript-5.8": "npm:typescript@~5.8.3", "typescript-eslint": "^8.42.0" }, "peerDependencies": { "lodash": "~4.17.21", "rxjs": "^7.8.2" }, "overrides": { "eslint-plugin-deprecation": { "eslint": "^9" } } }