UNPKG

1.73 kBJSONView Raw
1{
2 "name": "binary-parser",
3 "version": "2.2.1",
4 "description": "Blazing-fast binary parser builder",
5 "main": "dist/binary_parser.js",
6 "module": "dist/esm/binary_parser.mjs",
7 "devDependencies": {
8 "@types/mocha": "^9.1.1",
9 "@types/node": "^18.7.18",
10 "karma": "^6.4.1",
11 "karma-chrome-launcher": "^3.1.1",
12 "karma-mocha": "^2.0.1",
13 "karma-typescript": "^5.5.3",
14 "mocha": "^10.0.0",
15 "prettier": "^2.7.1",
16 "ts-node": "^10.9.1",
17 "typescript": "^4.8.3"
18 },
19 "exports": {
20 ".": {
21 "import": "./dist/esm/binary_parser.mjs",
22 "require": "./dist/binary_parser.js"
23 },
24 "./*": "./*"
25 },
26 "scripts": {
27 "build": "npm run build:cjs && npm run build:esm",
28 "build:cjs": "tsc --module commonjs --outDir dist",
29 "build:esm": "tsc --module esnext --outDir dist/esm && mv dist/esm/binary_parser.js dist/esm/binary_parser.mjs",
30 "format": "prettier --list-different \"{lib,example,test,benchmark}/**/*.{ts,js}\"",
31 "format:fix": "prettier --write \"{lib,example,test,benchmark}/**/*.{ts,js}\"",
32 "test": "mocha --require ts-node/register test/*.ts",
33 "test:browser": "karma start --single-run --browsers ChromeHeadless karma.conf.js",
34 "prepare": "npm run build"
35 },
36 "files": [
37 "dist",
38 "lib"
39 ],
40 "keywords": [
41 "binary",
42 "parser",
43 "decode",
44 "unpack",
45 "struct",
46 "buffer",
47 "bit"
48 ],
49 "author": {
50 "name": "Keichi Takahashi",
51 "email": "hello@keichi.dev",
52 "url": "https://keichi.dev/"
53 },
54 "license": "MIT",
55 "repository": {
56 "type": "git",
57 "url": "http://github.com/keichi/binary-parser.git"
58 },
59 "bugs": "http://github.com/keichi/binary-parser/issues",
60 "engines": {
61 "node": ">=12"
62 }
63}