Files
opensourcepos/package.json
T
objecttothisandClaude Sonnet 5 600417bfdf refactor: extract PSR-12 renames and independent bugfixes from plugin system PR (#4784)
build/refactor/fix: tighten tooling, rename accessors to camelCase, and correct model bugs

* build: tighten gitignore, lockfile, and script config
- gitignore /build and /.php-cs-fixer.cache
- allow core-js@3.50.0 postinstall script in package.json

* refactor: rename snake_case data accessors to camelCase
Rename get_info, get_multiple_info, get_sale_items, get_sale_payments,
and save_customer across Customer, Employee, Item, Sale, and Supplier
models to PSR-12 camelCase, updating every call site in controllers,
libraries, and views.

* test: update calls to match renamed camelCase accessors
Update HomeTest, ItemsControllerTest, and ItemTest to call
getInfo()/getMultipleInfo() instead of the old snake_case model methods.

* fix: correct independent bugs in Item, Item_taxes, and Attribute models
- Item::delete()/delete_list(): let $this->db->transStatus() alone decide
  success instead of accumulating a bitwise-AND over intermediate results,
  which could report failure (and trigger error toasts) even when the
  delete had actually completed
- Item_taxes: correct $table property from 'item_taxes' to 'items_taxes'
- Attribute::getDefinitionNames(): pass an array to
  QueryBuilder->whereNotIn(), which requires one

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-28 13:00:30 +04:00

88 lines
2.8 KiB
JSON

{
"name": "@opensourcepos/opensourcepos",
"version": "3.4.4-dev",
"description": "Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.",
"keywords": [
"point-of-sale",
"POS"
],
"homepage": "https://opensourcepos.org",
"bugs": {
"url": "https://github.com/opensourcepos/opensourcepos/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opensourcepos/opensourcepos.git"
},
"license": "MIT",
"contributors": [
"jekkos <jekkos - at - opensourcepos.org>",
"objecttothis <objecttothis - at - gmail.com>"
],
"files": [
"dist/opensourcepos.$version.tgz"
],
"type": "module",
"main": "index.php",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "gulp default",
"gulp": "gulp"
},
"dependencies": {
"bootstrap": "^3.4.1",
"bootstrap-daterangepicker": "^2.1.27",
"bootstrap-datetime-picker": "2.4.4",
"bootstrap-notify": "^3.1.3",
"bootstrap-select": "^1.13.18",
"bootstrap-table": "^1.27.3",
"bootstrap-tagsinput-2021": "^0.8.6",
"bootstrap-toggle": "^2.2.2",
"bootstrap3-dialog": "github:nakupanda/bootstrap3-dialog#master",
"bootstrap5": "npm:bootstrap@^5.3.8",
"bootswatch": "^3.4.1",
"bootswatch5": "npm:bootswatch@^5.3.8",
"chartist": "^0.11.4",
"chartist-plugin-axistitle": "^0.0.7",
"chartist-plugin-barlabels": "^0.0.5",
"chartist-plugin-pointlabels": "^0.0.6",
"chartist-plugin-tooltips": "^0.0.17",
"clipboard": "^2.0.11",
"dompurify": "^3.4.17",
"elegant-circles": "github:opensourcepos/elegant-circles#minified",
"file-saver": "^2.0.5",
"html2canvas": "^1.4.1",
"jasny-bootstrap": "^3.1.3",
"jquery": "^3.7.1",
"jquery-form": "^4.3.0",
"jquery-ui-dist": "^1.13.3",
"jquery-validation": "^1.22.1",
"jspdf": "^4.2.1",
"jspdf-autotable": "^5.0.9",
"tableexport.jquery.plugin": "^1.33.0"
},
"overrides": {
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
},
"devDependencies": {
"gulp": "^5.0.1",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-inject": "^5.0.5",
"gulp-rev": "^12.0.0",
"gulp-tar": "^5.0.0",
"gulp-uglify": "^3.0.2",
"gulp-zip": "^6.1.0",
"license-report": "^6.8.6",
"npm-check-updates": "^23.1.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"allowScripts": {
"core-js@3.50.0": true
}
}