@handijitcom/barcode 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/LICENSE +21 -0
- package/README.md +320 -2
- package/build/index.cjs +284 -0
- package/build/index.cjs.map +1 -0
- package/build/index.d.mts +45 -0
- package/build/index.d.ts +45 -0
- package/build/index.mjs +279 -0
- package/build/index.mjs.map +1 -0
- package/build/index.umd.js +2 -0
- package/build/index.umd.js.map +1 -0
- package/package.json +90 -4
package/package.json
CHANGED
|
@@ -1,6 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@handijitcom/barcode",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Dependency-free Code 128 barcode encoder with crisp SVG string output for Node and browsers, plus print CSS helpers for thermal and A4 shipping labels.",
|
|
5
|
+
"author": "Ahmet ilhan <ahmetilhan.dev@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/handijit/barcode.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/handijit/barcode#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/handijit/barcode/issues"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"main": "./build/index.cjs",
|
|
19
|
+
"module": "./build/index.mjs",
|
|
20
|
+
"types": "./build/index.d.ts",
|
|
21
|
+
"unpkg": "./build/index.umd.js",
|
|
22
|
+
"jsdelivr": "./build/index.umd.js",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"import": {
|
|
26
|
+
"types": "./build/index.d.mts",
|
|
27
|
+
"default": "./build/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./build/index.d.ts",
|
|
31
|
+
"default": "./build/index.cjs"
|
|
32
|
+
},
|
|
33
|
+
"default": "./build/index.mjs"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"sideEffects": false,
|
|
38
|
+
"files": [
|
|
39
|
+
"build",
|
|
40
|
+
"README.md",
|
|
41
|
+
"CHANGELOG.md",
|
|
42
|
+
"LICENSE"
|
|
43
|
+
],
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=24"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "sh ./scripts/prod-build.sh",
|
|
49
|
+
"dev": "sh ./scripts/dev-build.sh",
|
|
50
|
+
"lint": "eslint . --max-warnings 0",
|
|
51
|
+
"format": "prettier --write .",
|
|
52
|
+
"format:check": "prettier --check .",
|
|
53
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json",
|
|
54
|
+
"test": "vitest run --coverage",
|
|
55
|
+
"size": "node ./scripts/report-size.mjs",
|
|
56
|
+
"lint:package": "publint && attw --pack .",
|
|
57
|
+
"bench": "node ./scripts/bench.mjs",
|
|
58
|
+
"verify": "npm run lint && npm run format:check && npm run typecheck && npm run test && npm run build && npm run size && npm run lint:package",
|
|
59
|
+
"prepublishOnly": "npm run verify"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"barcode",
|
|
63
|
+
"code128",
|
|
64
|
+
"code-128",
|
|
65
|
+
"svg",
|
|
66
|
+
"shipping-label",
|
|
67
|
+
"label",
|
|
68
|
+
"thermal-printer",
|
|
69
|
+
"print",
|
|
70
|
+
"handijit"
|
|
71
|
+
],
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
74
|
+
"@eslint/js": "^10.0.1",
|
|
75
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
76
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
77
|
+
"@types/node": "^26.2.0",
|
|
78
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
79
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
80
|
+
"eslint": "^10.14.0",
|
|
81
|
+
"eslint-config-prettier": "^10.1.8",
|
|
82
|
+
"jsdom": "^31.0.0",
|
|
83
|
+
"prettier": "^3.9.10",
|
|
84
|
+
"publint": "^0.3.25",
|
|
85
|
+
"rollup": "^4.62.4",
|
|
86
|
+
"rollup-plugin-dts": "^6.5.1",
|
|
87
|
+
"tslib": "^2.8.1",
|
|
88
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
89
|
+
"typescript-eslint": "^8.72.2",
|
|
90
|
+
"vitest": "^5.1.0"
|
|
91
|
+
}
|
|
92
|
+
}
|