UNPKG

rawproto

Version:

Guess structure of protobuf binary from raw data

60 lines (59 loc) 1.99 kB
{ "name": "rawproto", "version": "1.0.3", "description": "Guess structure of protobuf binary from raw data", "type": "module", "source": "./src/index.js", "exports": { "require": "./dist/rawproto.cjs", "default": "./dist/rawproto.modern.js" }, "main": "./dist/rawproto.cjs", "module": "./dist/rawproto.module.js", "unpkg": "./dist/rawproto.umd.js", "bin": { "rawproto": "rawproto_cli.js" }, "dependencies": { "flat": "^6.0.1", "get-stdin": "^9.0.0", "yargs": "^17.7.2" }, "devDependencies": { "@vitest/coverage-v8": "^1.5.3", "@vitest/ui": "^1.6.0", "microbundle": "^0.15.1", "protobufjs": "^7.4.0", "vitest": "^1.5.3" }, "scripts": { "test": "vitest run --globals --reporter verbose --coverage --coverage.include src/**/*.js", "test:watch": "vitest --globals --reporter verbose --ui", "prepublishOnly": "npm run build", "build": "microbundle", "start": "cd ui && npm ci && npm start", "release:blob": "npm run build && NODE_NO_WARNINGS=1 node --experimental-sea-config sea-config.json", "release:mac": "mkdir -p releases/mac && npm run release:blob && cp $(command -v node) releases/mac/rawproto && chmod 755 releases/mac/rawproto && codesign --remove-signature releases/mac/rawproto && npx -y postject@latest releases/mac/rawproto NODE_SEA_BLOB rawproto.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --macho-segment-name NODE_SEA && codesign --sign - releases/mac/rawproto" }, "repository": { "type": "git", "url": "git+https://github.com/konsumer/rawproto.git" }, "keywords": [ "protobuf", "decode", "reverse-engineer", "binary", "raw" ], "author": "David Konsumer <konsumer@jetboystudio.com> (http://konsumer.js.org)", "license": "MIT", "bugs": { "url": "https://github.com/konsumer/rawproto/issues" }, "homepage": "https://rawproto.konsumer.js.org", "files": [ "dist/*", "src/react.jsx" ] }