Added Barcode generation
This commit is contained in:
+14
-3
@@ -1,6 +1,17 @@
|
||||
.DS_Store
|
||||
*.pyc
|
||||
*.py~
|
||||
.DS_Store
|
||||
conf.py
|
||||
locale
|
||||
latest_updates.json
|
||||
.wnf-lang-status
|
||||
*.egg-info
|
||||
dist/
|
||||
erpnext/docs/current
|
||||
*.swp
|
||||
tags
|
||||
label_printing/docs/current
|
||||
*.swo
|
||||
__pycache__
|
||||
*~
|
||||
.idea/
|
||||
.vscode/
|
||||
node_modules/
|
||||
|
||||
@@ -14,7 +14,7 @@ app_license = "MIT"
|
||||
|
||||
# include js, css files in header of desk.html
|
||||
# app_include_css = "/assets/label_printing/css/label_printing.css"
|
||||
app_include_js = "/assets/label_printing/js/label_printing.min.js"
|
||||
app_include_js = "/assets/js/label_printing.min.js"
|
||||
|
||||
# include js, css files in header of web template
|
||||
# web_include_css = "/assets/label_printing/css/label_printing.css"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"label_printing/js/label_printing.min.js": [
|
||||
"js/label_printing.min.js": [
|
||||
"public/js/label_printing_desk.js"
|
||||
]
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
!function(){"use strict";function e(e,a){var t;return frappe.call({method:"frappe.client.get",async:!1,args:{doctype:e,name:a},callback:function(e){e.message&&(t=e.message)}}),t}$(document).ready(function(){$(".dropdown-notifications").after('<li id="labels-toolbar" class="nav-item"><a class="nav-link label-printing-icon text-muted"><i class="fa fa-tag fa-lg" aria-hidden="true"></i></a></li>'),$("#labels-toolbar").click(function(a){!function(a){var t=a.view.cur_frm,l={labels:[{item_qty:0,label_qty:1}]};null!==t&&("Work Order"!==t.doctype&&"Item"!==t.doctype||t.docname&&(l.doctype=t.doctype,l.docname=t.docname));var i=new frappe.ui.Dialog({title:__("Print Labels"),fields:[{label:__("Reference Doctype"),options:["Work Order","Item","Label"],fieldname:"doctype",fieldtype:"Select",default:l.doctype},{label:__("Get data"),fieldname:"get_data",fieldtype:"Button",click:function(){n()}},{fieldtype:"Column Break"},{label:__("Reference Docname"),fieldname:"docname",fieldtype:"Data",options:"doctype",default:l.docname},{fieldtype:"Section Break",label:__("Information")},{label:__("Item Code"),fieldname:"item_code",fieldtype:"Data"},{label:__("Item Name"),fieldname:"item_name",fieldtype:"Data"},{label:__("Delivery Date"),fieldname:"delivery_date",fieldtype:"Date"},{fieldtype:"Column Break"},{label:__("Customer"),fieldname:"customer",fieldtype:"Data"},{label:__("Batch"),fieldname:"batch",fieldtype:"Data"},{fieldtype:"Section Break",label:__("Labels")},{fieldname:"labels",fieldtype:"Table",cannot_add_rows:!1,in_place_edit:!0,data:l.labels,get_data:function(){return l.labels},fields:[{fieldtype:"Int",fieldname:"item_qty",in_list_view:1,label:__("Item Qty")},{label:__("Label Qty"),fieldname:"label_qty",in_list_view:1,fieldtype:"Int"},{fieldtype:"Data",fieldname:"information",in_list_view:1,label:__("Information")}]}],primary_action_label:"Print",primary_action:function(e){frappe.call({method:"label_printing.api.print_label",args:{values:e},callback:function(e){200===e.message&&frappe.show_alert("Label printing successful",5)}}),i.hide()}});function n(){if((l=i.get_values()).doctype&&l.docname){var a=e(l.doctype,l.docname);if("Work Order"===l.doctype){var t=e("Item",a.production_item);if(frappe.call({method:"label_printing.api.get_associated_stockentry",async:!1,args:{workorder:l.docname},callback:function(e){e.message&&(l.batch=e.message.items[e.message.items.length-1].batch_no)}}),l.item_code=t.item_code,l.item_name=t.item_name,l.delivery_date=a.expected_delivery_date,l.labels[0].item_qty=a.qty,l.labels[0].label_qty=1,t.associated_company){var n=e("Customer",t.associated_company);n.short_name?l.customer=n.short_name:l.customer=t.associated_company}l.total_amount=a.qty,l.labels[0].qty_per_label=a.qty,i.fields_dict.labels.refresh()}else if("Item"===l.doctype){var o=e("Item",a.item_code);if(l.item_code=a.item_code,l.item_name=a.item_name,o.associated_company){var c=e("Customer",a.associated_company);c.short_name?l.customer=c.short_name:l.customer=a.associated_company}}i.set_values(l)}}n(),i.show(),i.fields_dict.doctype.$input.on("change",function(){i.fields_dict.docname.refresh()})}(a)})})}();
|
||||
//# sourceMappingURL=label_printing.min.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
/home/frappe/frappe-bench/apps/label_printing/node_modules
|
||||
/Volumes/development/frappe/frappe-bench/apps/label_printing/node_modules
|
||||
@@ -1,13 +1,32 @@
|
||||
import frappe
|
||||
from io import BytesIO
|
||||
from barcode import EAN13
|
||||
from barcode.writer import ImageWriter
|
||||
|
||||
|
||||
@frappe.whitelist()
|
||||
def generateBarcode(string):
|
||||
rv = BytesIO()
|
||||
EAN13(str(100000902922), writer=ImageWriter()).write(rv)
|
||||
print(rv.decode('UTF-8'))
|
||||
|
||||
from barcode import Code128
|
||||
from barcode.writer import ImageWriter
|
||||
from io import BytesIO
|
||||
import base64
|
||||
|
||||
file_like_object = BytesIO()
|
||||
writer = ImageWriter()
|
||||
value = f'{string}'
|
||||
options = {
|
||||
"module_width": 0.1,
|
||||
"module_height": 1,
|
||||
"quiet_zone": 0,
|
||||
"write_text": False,
|
||||
"text_distance": 1,
|
||||
}
|
||||
|
||||
Code128(value, writer=writer).write(
|
||||
file_like_object, options)
|
||||
|
||||
encoded = base64.b64encode(file_like_object.getvalue()).decode("ascii")
|
||||
|
||||
return f'<img src="data:image/png;base64,{encoded}" />'
|
||||
|
||||
|
||||
lookup = {
|
||||
" ": 0,
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/Barcode.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128/CODE128.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128/CODE128A.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128/CODE128B.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128/CODE128C.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128/CODE128_AUTO.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE39
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/EAN.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/EAN13.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/EAN2.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/EAN5.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/EAN8.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/exceptions/ErrorHandler.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/GenericBarcode
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/ITF
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/ITF/ITF.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/ITF/ITF14.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI/MSI.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI/MSI10.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI/MSI1010.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI/MSI11.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI/MSI1110.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/UPC.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/UPCE.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/CODE128/auto.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/renderers/canvas.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/MSI/checksums.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/codabar
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/ITF/constants.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/options/defaults.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/EAN_UPC/encoder.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/exceptions/exceptions.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/help/fixOptions.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/help/getOptionsFromElement.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/help/getRenderProperties.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/renderers/index.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/index.tmp.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/help/linearizeEncodings.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/help/merge.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/renderers/object.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/help/optionsFromStrings.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/barcodes/pharmacode
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/renderers/shared.js
|
||||
-1
@@ -1 +0,0 @@
|
||||
../jsbarcode/bin/renderers/svg.js
|
||||
+2
@@ -7,11 +7,13 @@
|
||||
"linkedModules": [],
|
||||
"topLevelPatterns": [
|
||||
"fs@^0.0.1-security",
|
||||
"jsbarcode@^3.11.5",
|
||||
"path@^0.12.7"
|
||||
],
|
||||
"lockfileEntries": {
|
||||
"fs@^0.0.1-security": "https://registry.yarnpkg.com/fs/-/fs-0.0.1-security.tgz#8a7bd37186b6dddf3813f23858b57ecaaf5e41d4",
|
||||
"inherits@2.0.3": "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de",
|
||||
"jsbarcode@^3.11.5": "https://registry.yarnpkg.com/jsbarcode/-/jsbarcode-3.11.5.tgz#390b3efd0271f35b9d68c7b8af6e972445969014",
|
||||
"path@^0.12.7": "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f",
|
||||
"process@^0.11.1": "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182",
|
||||
"util@^0.10.3": "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901"
|
||||
|
||||
+11
-36
@@ -1,45 +1,20 @@
|
||||
{
|
||||
"_from": "fs@0.0.1-security",
|
||||
"_id": "fs@0.0.1-security",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=",
|
||||
"_location": "/fs",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "fs@0.0.1-security",
|
||||
"name": "fs",
|
||||
"escapedName": "fs",
|
||||
"rawSpec": "0.0.1-security",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.0.1-security"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
|
||||
"_shasum": "8a7bd37186b6dddf3813f23858b57ecaaf5e41d4",
|
||||
"_spec": "fs@0.0.1-security",
|
||||
"_where": "/home/frappe/frappe-bench/apps/label_printing",
|
||||
"author": "",
|
||||
"bugs": {
|
||||
"url": "https://github.com/npm/security-holder/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.",
|
||||
"homepage": "https://github.com/npm/security-holder#readme",
|
||||
"keywords": [],
|
||||
"license": "ISC",
|
||||
"version": "0.0.1-security",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"name": "fs",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/npm/security-holder.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/npm/security-holder/issues"
|
||||
},
|
||||
"version": "0.0.1-security"
|
||||
"homepage": "https://github.com/npm/security-holder#readme"
|
||||
}
|
||||
|
||||
+11
-43
@@ -1,42 +1,7 @@
|
||||
{
|
||||
"_from": "inherits@2.0.3",
|
||||
"_id": "inherits@2.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
|
||||
"_location": "/inherits",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "inherits@2.0.3",
|
||||
"name": "inherits",
|
||||
"escapedName": "inherits",
|
||||
"rawSpec": "2.0.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.0.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/util"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||
"_shasum": "633c2c83e3da42a502f52466022480f4208261de",
|
||||
"_spec": "inherits@2.0.3",
|
||||
"_where": "/home/frappe/frappe-bench/apps/label_printing/node_modules/util",
|
||||
"browser": "./inherits_browser.js",
|
||||
"bugs": {
|
||||
"url": "https://github.com/isaacs/inherits/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
|
||||
"devDependencies": {
|
||||
"tap": "^7.1.0"
|
||||
},
|
||||
"files": [
|
||||
"inherits.js",
|
||||
"inherits_browser.js"
|
||||
],
|
||||
"homepage": "https://github.com/isaacs/inherits#readme",
|
||||
"version": "2.0.3",
|
||||
"keywords": [
|
||||
"inheritance",
|
||||
"class",
|
||||
@@ -47,15 +12,18 @@
|
||||
"browser",
|
||||
"browserify"
|
||||
],
|
||||
"license": "ISC",
|
||||
"main": "./inherits.js",
|
||||
"name": "inherits",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/isaacs/inherits.git"
|
||||
},
|
||||
"browser": "./inherits_browser.js",
|
||||
"repository": "git://github.com/isaacs/inherits",
|
||||
"license": "ISC",
|
||||
"scripts": {
|
||||
"test": "node test"
|
||||
},
|
||||
"version": "2.0.3"
|
||||
"devDependencies": {
|
||||
"tap": "^7.1.0"
|
||||
},
|
||||
"files": [
|
||||
"inherits.js",
|
||||
"inherits_browser.js"
|
||||
]
|
||||
}
|
||||
|
||||
+42
-125
@@ -1,104 +1,40 @@
|
||||
{
|
||||
"_from": "jsbarcode",
|
||||
"_id": "jsbarcode@3.11.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-zv3KsH51zD00I/LrFzFSM6dst7rDn0vIMzaiZFL7qusTjPZiPtxg3zxetp0RR7obmjTw4f6NyGgbdkBCgZUIrA==",
|
||||
"_location": "/jsbarcode",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "tag",
|
||||
"registry": true,
|
||||
"raw": "jsbarcode",
|
||||
"name": "jsbarcode",
|
||||
"escapedName": "jsbarcode",
|
||||
"rawSpec": "",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "latest"
|
||||
"version": "3.11.5",
|
||||
"description": "JsBarcode is a customizable barcode generator with support for multiple barcode formats.",
|
||||
"main": "./bin/JsBarcode.js",
|
||||
"directories": {
|
||||
"example": "example",
|
||||
"test": "test",
|
||||
"lib": "src",
|
||||
"bin": "bin"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#USER",
|
||||
"/"
|
||||
"scripts": {
|
||||
"test": "gulp babel && node_modules/mocha/bin/mocha test/node/ -R spec",
|
||||
"coveralls": "NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test/node/ --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js",
|
||||
"coverage": "./node_modules/.bin/mocha test/node/ -r blanket -R html-cov > test/coverage.html",
|
||||
"build": "gulp compile"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lindell/JsBarcode.git"
|
||||
},
|
||||
"keywords": [
|
||||
"barcode",
|
||||
"canvas",
|
||||
"code128",
|
||||
"upc",
|
||||
"ean",
|
||||
"itf",
|
||||
"msi",
|
||||
"pharmacode"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/jsbarcode/-/jsbarcode-3.11.5.tgz",
|
||||
"_shasum": "390b3efd0271f35b9d68c7b8af6e972445969014",
|
||||
"_spec": "jsbarcode",
|
||||
"_where": "/home/frappe/frappe-bench/apps/label_printing",
|
||||
"author": {
|
||||
"name": "Johan Lindell"
|
||||
},
|
||||
"bin": {
|
||||
"barcodes": "bin/barcodes",
|
||||
"Barcode.js": "bin/barcodes/Barcode.js",
|
||||
"codabar": "bin/barcodes/codabar",
|
||||
"index.js": "bin/renderers/index.js",
|
||||
"CODE128": "bin/barcodes/CODE128",
|
||||
"auto.js": "bin/barcodes/CODE128/auto.js",
|
||||
"CODE128_AUTO.js": "bin/barcodes/CODE128/CODE128_AUTO.js",
|
||||
"CODE128.js": "bin/barcodes/CODE128/CODE128.js",
|
||||
"CODE128A.js": "bin/barcodes/CODE128/CODE128A.js",
|
||||
"CODE128B.js": "bin/barcodes/CODE128/CODE128B.js",
|
||||
"CODE128C.js": "bin/barcodes/CODE128/CODE128C.js",
|
||||
"constants.js": "bin/barcodes/ITF/constants.js",
|
||||
"CODE39": "bin/barcodes/CODE39",
|
||||
"EAN_UPC": "bin/barcodes/EAN_UPC",
|
||||
"EAN.js": "bin/barcodes/EAN_UPC/EAN.js",
|
||||
"EAN13.js": "bin/barcodes/EAN_UPC/EAN13.js",
|
||||
"EAN2.js": "bin/barcodes/EAN_UPC/EAN2.js",
|
||||
"EAN5.js": "bin/barcodes/EAN_UPC/EAN5.js",
|
||||
"EAN8.js": "bin/barcodes/EAN_UPC/EAN8.js",
|
||||
"encoder.js": "bin/barcodes/EAN_UPC/encoder.js",
|
||||
"UPC.js": "bin/barcodes/EAN_UPC/UPC.js",
|
||||
"UPCE.js": "bin/barcodes/EAN_UPC/UPCE.js",
|
||||
"GenericBarcode": "bin/barcodes/GenericBarcode",
|
||||
"index.tmp.js": "bin/barcodes/index.tmp.js",
|
||||
"ITF": "bin/barcodes/ITF",
|
||||
"ITF.js": "bin/barcodes/ITF/ITF.js",
|
||||
"ITF14.js": "bin/barcodes/ITF/ITF14.js",
|
||||
"MSI": "bin/barcodes/MSI",
|
||||
"checksums.js": "bin/barcodes/MSI/checksums.js",
|
||||
"MSI.js": "bin/barcodes/MSI/MSI.js",
|
||||
"MSI10.js": "bin/barcodes/MSI/MSI10.js",
|
||||
"MSI1010.js": "bin/barcodes/MSI/MSI1010.js",
|
||||
"MSI11.js": "bin/barcodes/MSI/MSI11.js",
|
||||
"MSI1110.js": "bin/barcodes/MSI/MSI1110.js",
|
||||
"pharmacode": "bin/barcodes/pharmacode",
|
||||
"exceptions": "bin/exceptions",
|
||||
"ErrorHandler.js": "bin/exceptions/ErrorHandler.js",
|
||||
"exceptions.js": "bin/exceptions/exceptions.js",
|
||||
"help": "bin/help",
|
||||
"fixOptions.js": "bin/help/fixOptions.js",
|
||||
"getOptionsFromElement.js": "bin/help/getOptionsFromElement.js",
|
||||
"getRenderProperties.js": "bin/help/getRenderProperties.js",
|
||||
"linearizeEncodings.js": "bin/help/linearizeEncodings.js",
|
||||
"merge.js": "bin/help/merge.js",
|
||||
"optionsFromStrings.js": "bin/help/optionsFromStrings.js",
|
||||
"JsBarcode.js": "bin/JsBarcode.js",
|
||||
"options": "bin/options",
|
||||
"defaults.js": "bin/options/defaults.js",
|
||||
"renderers": "bin/renderers",
|
||||
"canvas.js": "bin/renderers/canvas.js",
|
||||
"object.js": "bin/renderers/object.js",
|
||||
"shared.js": "bin/renderers/shared.js",
|
||||
"svg.js": "bin/renderers/svg.js"
|
||||
},
|
||||
"author": "Johan Lindell",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/lindell/JsBarcode/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"config": {
|
||||
"blanket": {
|
||||
"pattern": [
|
||||
"JsBarcode.js",
|
||||
"barcodes"
|
||||
],
|
||||
"data-cover-never": [
|
||||
"GenericBarcode",
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "JsBarcode is a customizable barcode generator with support for multiple barcode formats.",
|
||||
"homepage": "https://github.com/lindell/JsBarcode#readme",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.24.1",
|
||||
"babel-core": "^6.24.1",
|
||||
@@ -128,36 +64,17 @@
|
||||
"webpack-stream": "^5.2.1",
|
||||
"xmldom": "^0.1.31"
|
||||
},
|
||||
"directories": {
|
||||
"example": "example",
|
||||
"test": "test",
|
||||
"lib": "src",
|
||||
"bin": "bin"
|
||||
},
|
||||
"homepage": "https://github.com/lindell/JsBarcode#readme",
|
||||
"keywords": [
|
||||
"barcode",
|
||||
"canvas",
|
||||
"code128",
|
||||
"upc",
|
||||
"ean",
|
||||
"itf",
|
||||
"msi",
|
||||
"pharmacode"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "./bin/JsBarcode.js",
|
||||
"name": "jsbarcode",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lindell/JsBarcode.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "gulp compile",
|
||||
"coverage": "mocha test/node/ -r blanket -R html-cov > test/coverage.html",
|
||||
"coveralls": "NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test/node/ --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js",
|
||||
"test": "gulp babel && node_modules/mocha/bin/mocha test/node/ -R spec"
|
||||
},
|
||||
"typings": "./jsbarcode.d.ts",
|
||||
"version": "3.11.5"
|
||||
"config": {
|
||||
"blanket": {
|
||||
"pattern": [
|
||||
"JsBarcode.js",
|
||||
"barcodes"
|
||||
],
|
||||
"data-cover-never": [
|
||||
"GenericBarcode",
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+8
-36
@@ -1,52 +1,24 @@
|
||||
{
|
||||
"_from": "path@0.12.7",
|
||||
"_id": "path@0.12.7",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=",
|
||||
"_location": "/path",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "path@0.12.7",
|
||||
"name": "path",
|
||||
"escapedName": "path",
|
||||
"rawSpec": "0.12.7",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.12.7"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz",
|
||||
"_shasum": "d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f",
|
||||
"_spec": "path@0.12.7",
|
||||
"_where": "/home/frappe/frappe-bench/apps/label_printing",
|
||||
"author": {
|
||||
"name": "Joyent",
|
||||
"url": "http://www.joyent.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jinder/path/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"process": "^0.11.1",
|
||||
"util": "^0.10.3"
|
||||
},
|
||||
"deprecated": false,
|
||||
"name": "path",
|
||||
"description": "Node.JS path module",
|
||||
"homepage": "http://nodejs.org/docs/latest/api/path.html",
|
||||
"keywords": [
|
||||
"ender",
|
||||
"path"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "./path.js",
|
||||
"name": "path",
|
||||
"version": "0.12.7",
|
||||
"homepage": "http://nodejs.org/docs/latest/api/path.html",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jinder/path.git"
|
||||
},
|
||||
"version": "0.12.7"
|
||||
"main": "./path.js",
|
||||
"dependencies": {
|
||||
"process": "^0.11.1",
|
||||
"util": "^0.10.3"
|
||||
}
|
||||
}
|
||||
|
||||
+15
-47
@@ -1,59 +1,27 @@
|
||||
{
|
||||
"_from": "process@0.11.10",
|
||||
"_id": "process@0.11.10",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
|
||||
"_location": "/process",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "process@0.11.10",
|
||||
"author": "Roman Shtylman <shtylman@gmail.com>",
|
||||
"name": "process",
|
||||
"escapedName": "process",
|
||||
"rawSpec": "0.11.10",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.11.10"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/path"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
|
||||
"_shasum": "7332300e840161bda3e69a1d1d91a7d4bc16f182",
|
||||
"_spec": "process@0.11.10",
|
||||
"_where": "/home/frappe/frappe-bench/apps/label_printing/node_modules/path",
|
||||
"author": {
|
||||
"name": "Roman Shtylman",
|
||||
"email": "shtylman@gmail.com"
|
||||
},
|
||||
"browser": "./browser.js",
|
||||
"bugs": {
|
||||
"url": "https://github.com/shtylman/node-process/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "process information for node.js and browsers",
|
||||
"devDependencies": {
|
||||
"mocha": "2.2.1",
|
||||
"zuul": "^3.10.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6.0"
|
||||
},
|
||||
"homepage": "https://github.com/shtylman/node-process#readme",
|
||||
"keywords": [
|
||||
"process"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "./index.js",
|
||||
"name": "process",
|
||||
"scripts": {
|
||||
"test": "mocha test.js",
|
||||
"browser": "zuul --no-coverage --ui mocha-bdd --local 8080 -- test.js"
|
||||
},
|
||||
"version": "0.11.10",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/shtylman/node-process.git"
|
||||
},
|
||||
"scripts": {
|
||||
"browser": "zuul --no-coverage --ui mocha-bdd --local 8080 -- test.js",
|
||||
"test": "mocha test.js"
|
||||
"license": "MIT",
|
||||
"browser": "./browser.js",
|
||||
"main": "./index.js",
|
||||
"engines": {
|
||||
"node": ">= 0.6.0"
|
||||
},
|
||||
"version": "0.11.10"
|
||||
"devDependencies": {
|
||||
"mocha": "2.2.1",
|
||||
"zuul": "^3.10.3"
|
||||
}
|
||||
}
|
||||
|
||||
+20
-48
@@ -1,63 +1,35 @@
|
||||
{
|
||||
"_from": "util@0.10.4",
|
||||
"_id": "util@0.10.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==",
|
||||
"_location": "/util",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "util@0.10.4",
|
||||
"name": "util",
|
||||
"escapedName": "util",
|
||||
"rawSpec": "0.10.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.10.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/path"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz",
|
||||
"_shasum": "3aa0125bfe668a4672de58857d3ace27ecb76901",
|
||||
"_spec": "util@0.10.4",
|
||||
"_where": "/home/frappe/frappe-bench/apps/label_printing/node_modules/path",
|
||||
"author": {
|
||||
"name": "Joyent",
|
||||
"url": "http://www.joyent.com"
|
||||
},
|
||||
"browser": {
|
||||
"./support/isBuffer.js": "./support/isBufferBrowser.js"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/defunctzombie/node-util/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"inherits": "2.0.3"
|
||||
},
|
||||
"deprecated": false,
|
||||
"name": "util",
|
||||
"description": "Node.JS util module",
|
||||
"devDependencies": {
|
||||
"zuul": "~1.0.9"
|
||||
"keywords": [
|
||||
"util"
|
||||
],
|
||||
"version": "0.10.4",
|
||||
"homepage": "https://github.com/defunctzombie/node-util",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/defunctzombie/node-util"
|
||||
},
|
||||
"main": "./util.js",
|
||||
"files": [
|
||||
"util.js",
|
||||
"support"
|
||||
],
|
||||
"homepage": "https://github.com/defunctzombie/node-util",
|
||||
"keywords": [
|
||||
"util"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "./util.js",
|
||||
"name": "util",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/defunctzombie/node-util.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test/node/*.js && zuul test/browser/*.js"
|
||||
},
|
||||
"version": "0.10.4"
|
||||
"dependencies": {
|
||||
"inherits": "2.0.3"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"zuul": "~1.0.9"
|
||||
},
|
||||
"browser": {
|
||||
"./support/isBuffer.js": "./support/isBufferBrowser.js"
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user