angular-barcode
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "angular-barcode", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "An angular directive for lindell's JsBarcode", | ||
"main": "barcode.js", | ||
"main": "dist/barcode.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "webpack --mode=build", | ||
"dev": "webpack --progress --colors --watch --mode=dev" | ||
}, | ||
@@ -28,19 +29,17 @@ "repository": { | ||
"homepage": "https://github.com/isonet/barcode#readme", | ||
"dependencies": { | ||
"angular": "^1.5.7" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"jspm": "^0.16.39" | ||
}, | ||
"jspm": { | ||
"dependencies": { | ||
"angular": "npm:angular@^1.5.7", | ||
"jsbarcode": "npm:jsbarcode@^3.3.14" | ||
}, | ||
"devDependencies": { | ||
"babel": "npm:babel-core@^5.8.24", | ||
"babel-runtime": "npm:babel-runtime@^5.8.24", | ||
"core-js": "npm:core-js@^1.1.4" | ||
} | ||
"angular": "^1.5.7", | ||
"babel-core": "^6.10.4", | ||
"babel-eslint": "^6.1.2", | ||
"babel-istanbul": "^0.11.0", | ||
"babel-istanbul-loader": "^0.1.0", | ||
"babel-loader": "^6.2.4", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.9.0", | ||
"jsbarcode": "^3.3.14", | ||
"loader-utils": "^0.2.15", | ||
"rimraf": "^2.5.3", | ||
"webpack": "^1.13.1" | ||
} | ||
} |
# barcode | ||
An angular directive for lindell's JsBarcode | ||
# Usage | ||
Take a look at the example/index.html | ||
# Dev | ||
You will need to setup the canvas package manually: https://www.npmjs.com/package/canvas |
@@ -56,3 +56,2 @@ 'use strict'; | ||
link(scope, element, attributes) { | ||
console.log(element); | ||
JsBarcode(element[0], scope.text, { | ||
@@ -59,0 +58,0 @@ format: scope.format || 'CODE128', |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
271506
0
15
256
0
12
12
1
- Removedangular@^1.5.7
- Removedangular@1.8.3(transitive)