UNPKG

struct-compile

Version:

Create a JavaScript class from a C structure

60 lines (59 loc) 1.51 kB
{ "name": "struct-compile", "version": "1.3.2", "description": "Create a JavaScript class from a C structure", "type": "module", "main": "./build/index.cjs", "files": [ "build/*", "src/*" ], "scripts": { "test": "node --test test/*.test.js", "test-cov-text": "node --test --experimental-test-coverage test/*.test.js", "test-cov": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info test/*.test.js", "create-diagram": "node src/createDiagram.js", "generate-test-data": "node src/generateData.js", "bundle": "rollup --config rollup.config.js", "prepublishOnly": "npm run test && npm run bundle" }, "keywords": [ "struct", "C", "cstruct", "pack", "unpack", "binary" ], "repository": { "type": "git", "url": "git://github.com/vaguue/struct-compile.git" }, "homepage": "https://github.com/vaguue/struct-compile", "bugs": { "url": "https://github.com/vaguue/struct-compile/issues" }, "author": "Seva D. <sabrinarempel7@gmail.com>", "license": "GPL-3.0", "imports": { "#src/*": "./src/*.js" }, "exports": { "node": { "import": "./src/index.js", "require": "./build/index.cjs" } }, "dependencies": { "chevrotain": "^11.0.3" }, "engines": { "node": ">=16.18.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.3", "husky": "^8.0.3", "lodash": "^4.17.21", "rollup": "^4.9.2" } }