UNPKG

@balena/balena-pricing

Version:
77 lines (76 loc) 2.09 kB
{ "name": "@balena/balena-pricing", "version": "2.0.2", "description": "Balena pricing/savings calculators", "homepage": "https://github.com/balena-io-modules/balena-pricing#readme", "main": "dist", "types": "dist/index.d.ts", "private": false, "keywords": [ "balena", "pricing" ], "files": [ "dist/", "browser/" ], "license": "AGPL-3.0", "engines": { "node": ">=22.4.0", "npm": ">=10.7.0" }, "repository": { "type": "git", "url": "git+https://github.com/balena-io-modules/balena-pricing.git" }, "bugs": { "url": "https://github.com/balena-io-modules/balena-pricing/issues" }, "scripts": { "lint": "balena-lint --typescript src test", "lint-fix": "balena-lint --typescript --fix src test", "pretest": "npm run prepare", "test": "mocha", "posttest": "npm run lint", "prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module && tsc", "clean": "rimraf dist browser", "build:browser": "rollup -c rollup.config.mjs", "build:cjs": "tsc --project ./tsconfig.build.json", "build": "npm run clean && npm run build:cjs && npm run build:browser" }, "devDependencies": { "@balena/lint": "^9.1.3", "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", "chai": "^5.1.2", "husky": "^9.0.0", "lint-staged": "^15.4.3", "mocha": "^11.1.0", "rimraf": "^6.0.1", "rollup": "^4.34.6", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.7.3" }, "lint-staged": { "*.ts": [ "balena-lint --fix" ] }, "mocha": { "reporter": "spec", "recursive": true, "require": "ts-node/register/transpile-only", "_": "test/*.spec.ts" }, "versionist": { "publishedAt": "2025-06-08T00:02:02.193Z" }, "dependencies": { "typed-error": "^3.2.2" } }