-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.09 KB
/
package.json
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
{
"type": "module",
"name": "bytestructs",
"version": "0.1.0",
"description": "define byte structures quickly and easily",
"types": "bytestruct.d.ts",
"main": "bytestruct.js",
"module": "bytestruct.js",
"browser": "bytestruct.js",
"publishConfig": {
"access": "public",
"module": "dist/bytestruct.min.js",
"browser": "dist/bytestruct.min.js"
},
"scripts": {
"build": "swc ./bytestruct.js -o dist/bytestruct.min.js",
"build:checksize": "pnpm build && gzip -c ./dist/bytestruct.min.js | wc -c && brotli -c ./dist/bytestruct.min.js | wc -c",
"build:mini": "swc ./bytestruct.mini.js -o dist/bytestruct.mini.min.js",
"build:mini:checksize": "pnpm build:mini && gzip -c ./dist/bytestruct.mini.min.js | wc -c && brotli -c ./dist/bytestruct.mini.min.js | wc -c"
},
"repository": "brecert/bytestructs",
"keywords": [
"tagged template",
"bytes",
"struct",
"pack",
"unpack",
"data",
"dsl"
],
"author": "bree <[email protected]>",
"license": "AGPL-3.0-only",
"devDependencies": {
"@swc/cli": "^0.1.59",
"@swc/core": "^1.3.29"
}
}