yalps
Version:
Yet another linear programming solver. (A rewrite of javascript-lp-solver.) Aims to be decently fast.
90 lines (89 loc) • 2.4 kB
JSON
{
"name": "yalps",
"version": "0.6.3",
"description": "Yet another linear programming solver. (A rewrite of javascript-lp-solver.) Aims to be decently fast.",
"homepage": "https://github.com/IanManske/YALPS",
"files": [
"dist"
],
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.min.js",
"jsdelivr": "dist/index.min.js",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"sideEffects": false,
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/IanManske/YALPS.git"
},
"bugs": {
"url": "https://github.com/IanManske/YALPS/issues"
},
"license": "MIT",
"author": {
"name": "Ian Manske"
},
"keywords": [
"Linear Programming",
"Integer Programming",
"Mixed Integer Linear Programming",
"LP",
"ILP",
"MILP",
"Solver",
"Linear Optimization"
],
"scripts": {
"inspect": "node --import=tsimp --expose-gc --inspect-brk",
"benchmark": "node --import=tsimp --expose-gc benchmarks/run.ts",
"benchmark:inspect": "run-s \"inspect benchmarks/run.ts\"",
"format": "prettier --check .",
"lint": "eslint .",
"type-check": "tsc",
"check": "run-s format lint type-check",
"format:fix": "prettier --write .",
"lint:fix": "eslint --fix .",
"fix": "run-s '*:fix'",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage",
"test:watch": "vitest --watch",
"build": "tsup",
"build:watch": "tsup --watch",
"export-check": "attw --pack .",
"prepack": "run-s build"
},
"dependencies": {
"heap": "^0.2.7"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/js": "^9.39.0",
"@types/heap": "^0.2.34",
"@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@vitest/coverage-v8": "^4.0.6",
"eslint": "~9.36.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^16.5.0",
"glpk.js": "^4.0.2",
"javascript-lp-solver": "^0.4.24",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"tsimp": "^2.0.11",
"tsup": "^8.5.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.46.2",
"vitest": "^4.0.6"
}
}