-
Notifications
You must be signed in to change notification settings - Fork 137
/
package.json
63 lines (63 loc) · 1.69 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
53
54
55
56
57
58
59
60
61
62
63
{
"name": "binary-parser",
"version": "2.2.1",
"description": "Blazing-fast binary parser builder",
"main": "dist/binary_parser.js",
"module": "dist/esm/binary_parser.mjs",
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.2",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-typescript": "^5.5.4",
"mocha": "^10.2.0",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"exports": {
".": {
"import": "./dist/esm/binary_parser.mjs",
"require": "./dist/binary_parser.js"
},
"./*": "./*"
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --module commonjs --outDir dist",
"build:esm": "tsc --module esnext --outDir dist/esm && mv dist/esm/binary_parser.js dist/esm/binary_parser.mjs",
"format": "prettier --list-different \"{lib,example,test,benchmark}/**/*.{ts,js}\"",
"format:fix": "prettier --write \"{lib,example,test,benchmark}/**/*.{ts,js}\"",
"test": "mocha --require ts-node/register test/*.ts",
"test:browser": "karma start --single-run --browsers ChromeHeadless karma.conf.js",
"prepare": "npm run build"
},
"files": [
"dist",
"lib"
],
"keywords": [
"binary",
"parser",
"decode",
"unpack",
"struct",
"buffer",
"bit"
],
"author": {
"name": "Keichi Takahashi",
"email": "hello@keichi.dev",
"url": "https://keichi.dev/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/keichi/binary-parser.git"
},
"bugs": "http://github.com/keichi/binary-parser/issues",
"engines": {
"node": ">=14"
}
}