-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
52 lines (52 loc) · 1.4 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "quick-struct",
"version": "1.0.1",
"main": "./build/index.js",
"types": "./types/index.d.ts",
"author": "aokihu <aokihu@gmail.com>",
"license": "MIT",
"keywords": [
"bin",
"binary",
"variable length",
"data layout",
"convert",
"arraybuffer",
"buffer",
"struct",
"structor",
"c",
"rust",
"encode",
"decode",
"big-endian",
"little-endian",
"endianness"
],
"description": "C like style to write struct layout, and it can convert variable length array or string automatically. It can be used in Node.js and Browser",
"homepage": "https://github.com/aokihu/quick-struct",
"maintainers": [
"aokihu@gmail.com"
],
"publisher": "aokihu@gmail.com",
"bugs": {
"email": "aokihu@gmail.com",
"url": "https://github.com/aokihu/quick-struct/issues"
},
"scripts": {
"prepublish": "yarn clean && yarn build && npx tsc --emitDeclarationOnly --outDir build",
"prepack": "rm -rf build && yarn build",
"build": "node esbuild.js",
"pretest": "npx tsc && npx esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=build/index.js",
"test": "npx mocha",
"bench": "yarn build && node benchmark/index.mjs",
"clean": "rm -rf build"
},
"devDependencies": {
"@types/node": "^17.0.23",
"esbuild": "^0.14.32",
"mocha": "^9.2.2",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3"
}
}