pricing4ts
Version:
 Pricing4TS is a TypeScript-based toolkit designed to enhance the server-side functionality of a pricing-driven SaaS by enabling the seamless integration of pricing plans into the application logic. T
74 lines (73 loc) • 2.32 kB
JSON
{
"name": "pricing4ts",
"version": "0.10.2",
"description": "\nPricing4TS is a TypeScript-based toolkit designed to enhance the server-side functionality of a pricing-driven SaaS by enabling the seamless integration of pricing plans into the application logic. The package provides a suite of components that are predicated on the Pricing2Yaml syntax, a specification that facilitates the definition of system's pricing and its features alongside their respective evaluation expressions, grouping them within plans and add-ons, as well as establishing usage limits.",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"exports": {
".": {
"import": "./dist/main.js",
"require": "./dist/main.js"
},
"./server": {
"import": "./dist/server/server.js",
"require": "./dist/server/server.js"
}
},
"directories": {
"test": "tests"
},
"scripts": {
"build": "tsc && npm run copy-mzn",
"copy-mzn": "copyfiles -u 1 src/**/*.mzn dist",
"dev": "nodemon src/main.ts --watch",
"test": "jest",
"test:small": "jest --testPathIgnorePatterns=tests/pricing-service/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Alex-GF/Pricing4TS.git"
},
"keywords": [
"Pricing4SaaS",
"Pricing",
"Management",
"SaaS"
],
"author": "ISA-Group",
"license": "MIT",
"bugs": {
"url": "https://github.com/Alex-GF/Pricing4TS/issues"
},
"homepage": "https://github.com/Alex-GF/Pricing4TS#readme",
"dependencies": {
"@openfeature/server-sdk": "^1.17.0",
"@types/papaparse": "^5.3.15",
"assert": "^2.1.0",
"currency-codes": "^2.2.0",
"js-yaml": "^4.1.0",
"jwt-simple": "^0.5.6",
"papaparse": "^5.4.1",
"semver": "^7.6.3",
"uuid": "^10.0.0"
},
"peerDependencies": {
"minizinc": "^4.3.5"
},
"devDependencies": {
"@types/assert": "^1.5.10",
"@types/express": "^5.0.1",
"@types/jest": "^29.5.13",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.7.8",
"@types/semver": "^7.5.8",
"@types/uuid": "^10.0.0",
"copyfiles": "^2.4.1",
"express": "^4.21.2",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
}
}