Skip to content

Commit f61eadc

Browse files
authored
Merge pull request #60 from dynamsoft-rd-0/master
more package manager; fix files
2 parents 1bff658 + 6af2994 commit f61eadc

File tree

8 files changed

+127
-127
lines changed

8 files changed

+127
-127
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ yarn.lock
4040
/.*ignore
4141
/DBR-*
4242
/src
43+
/Web.config
4344

4445
!/dist
4546
/dist/*
@@ -61,5 +62,9 @@ yarn.lock
6162
!/package.json
6263
!/LICENSE
6364

65+
!bower.json
66+
!composer.json
67+
!package.js
68+
6469

6570

Web.config

Lines changed: 0 additions & 19 deletions
This file was deleted.

bower.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "dynamsoft-javascript-barcode",
3+
"description": "Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.",
4+
"files": [
5+
"/dist/dbr.js",
6+
"/dist/dbr.mjs",
7+
"/dist/dbr.browser.mjs",
8+
"/dist/dbr-*.worker.js",
9+
"/dist/dbr-*.wasm.js",
10+
"/dist/dbr-*.wasm",
11+
"/dist/dbr.d.ts",
12+
"/dist/dbr.reference.d.ts",
13+
"/dist/dbr.scanner.html"
14+
],
15+
"ignore": [
16+
"/doc",
17+
"/example",
18+
"/.gitignore",
19+
"/composer.json",
20+
"/package.js"
21+
],
22+
"homepage": "https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx",
23+
"main": "dist/dbr.js",
24+
"module": "dist/dbr.mjs",
25+
"browser": "dist/dbr.browser.mjs",
26+
"types": "dist/dbr.d.ts",
27+
"authors": [{
28+
"name": "Dynamsoft",
29+
"homepage": "https://www.dynamsoft.com"
30+
}],
31+
"license": [
32+
"For web: https://www.dynamsoft.com/Products/barcode-reader-license-agreement.aspx#javascript",
33+
"For node: https://www.dynamsoft.com/Products/barcode-reader-license-agreement.aspx"
34+
],
35+
"repository": {
36+
"type": "git",
37+
"url": "https://github.com/dynamsoft/javascript-barcode.git"
38+
},
39+
"maintainers": [
40+
{
41+
"name": "Dynamsoft",
42+
"email": "support@dynamsoft.com"
43+
}
44+
],
45+
"keywords": [
46+
"HTML5 barcode",
47+
"JavaScript barcode",
48+
"Web barcode",
49+
"barcode",
50+
"PDF417",
51+
"QRCode",
52+
"Aztec Code",
53+
"WebAssembly",
54+
"SDK",
55+
"Linear barcode",
56+
"1D barcode"
57+
]
58+
}

composer.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "dynamsoft/javascript-barcode",
3+
"description": "Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.",
4+
"archive": {
5+
"exclude": [
6+
"/doc",
7+
"/example",
8+
"/.gitignore",
9+
"/bower.json",
10+
"/package.js"
11+
]
12+
},
13+
"keywords": [
14+
"HTML5 barcode",
15+
"JavaScript barcode",
16+
"Web barcode",
17+
"barcode",
18+
"PDF417",
19+
"QRCode",
20+
"Aztec Code",
21+
"WebAssembly",
22+
"SDK",
23+
"Linear barcode",
24+
"1D barcode"
25+
],
26+
"homepage": "https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx",
27+
"license": [
28+
"For web: https://www.dynamsoft.com/Products/barcode-reader-license-agreement.aspx#javascript",
29+
"For node: https://www.dynamsoft.com/Products/barcode-reader-license-agreement.aspx"
30+
],
31+
"authors": [ { "name": "Dynamsoft", "homepage": "https://www.dynamsoft.com/" } ],
32+
"support": {
33+
"issues": "https://www.dynamsoft.com/Company/Contact.aspx"
34+
}
35+
}

dist/dbr-7.3.0.3.worker.js

Lines changed: 0 additions & 106 deletions
This file was deleted.

example/web/debug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Here we use nodejs express.
88

99
`node app.js`
1010

11-
Quick Debug: https://dynamsoft-dbr.github.io/javascript-barcode/example/web/debug/public/index.html
11+
Quick Debug: https://dynamsoft.github.io/javascript-barcode/example/web/debug/public/index.html

package.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Package.describe({
2+
name: 'dynamsoft:javascript-barcode',
3+
version: '7.3.0-v4',
4+
summary: 'Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.',
5+
git: 'https://github.com/dynamsoft/javascript-barcode.git',
6+
documentation: 'README.md'
7+
});
8+
9+
Package.onUse(function(api) {
10+
api.versionsFrom('1.8.0.1');
11+
api.addAssets([
12+
"/dist/dbr.js",
13+
"/dist/dbr.mjs",
14+
"/dist/dbr.browser.mjs",
15+
"/dist/dbr-7.3.0.4.worker.js",
16+
"/dist/dbr-7.3.0.4.wasm.js",
17+
"/dist/dbr-7.3.0.4.wasm",
18+
"/dist/dbr-7.3.0.4.full.wasm.js",
19+
"/dist/dbr-7.3.0.4.full.wasm",
20+
"/dist/dbr-7.3.0.4.node.wasm.js",
21+
"/dist/dbr-7.3.0.4.node.wasm",
22+
"/dist/dbr.d.ts",
23+
"/dist/dbr.reference.d.ts",
24+
"/dist/dbr.scanner.html"
25+
], 'client');
26+
});
27+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"license": "SEE LICENSE IN LICENSE.txt",
2626
"repository": {
2727
"type": "git",
28-
"url": "git://github.com/dynamsoft-dbr/javascript-barcode"
28+
"url": "https://github.com/dynamsoft/javascript-barcode.git"
2929
},
3030
"maintainers": [
3131
{

0 commit comments

Comments
 (0)