-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.67 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "zpl-renderer-js",
"version": "3.2.2",
"author": "Fabrizio",
"license": "MIT",
"description": "Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.",
"homepage": "https://xaviewer.fabriz.co/",
"keywords": [
"zpl",
"zebra",
"label",
"printer",
"png",
"render",
"wasm",
"typescript",
"javascript",
"nodejs",
"browser",
"labelary",
"zpljs",
"zebrash"
],
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"unpkg": "dist/index.umd.js",
"jsdelivr": "dist/index.umd.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "npm run build:types && node build.js",
"build:types": "tsc -p tsconfig.json",
"build:wasm": "cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .",
"build:pw:wasm": "cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' .",
"build:w:wasm": "cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .",
"test": "vitest"
},
"files": [
"dist/*.js",
"dist/*.ts"
],
"devDependencies": {
"@types/node": "^24.2.0",
"esbuild": "^0.25.8",
"typescript": "^5.9.2",
"vite-plugin-top-level-await": "^1.6.0",
"vite-plugin-wasm": "^3.5.0",
"vitest": "^3.2.4"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs.js",
"import": "./dist/index.esm.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Fabrizz/zpl-renderer-js.git"
}
}