100 lines
2.7 KiB
JSON
100 lines
2.7 KiB
JSON
{
|
|
"name": "byte-data",
|
|
"version": "18.1.1",
|
|
"description": "JavaScript binary parser for any browser or environment.",
|
|
"homepage": "https://github.com/rochars/byte-data",
|
|
"author": "Rafael da Silva Rocha <rocha.rafaelsilva@gmail.com>",
|
|
"license": "MIT",
|
|
"main": "./dist/byte-data.js",
|
|
"module": "./index.js",
|
|
"types": "./index.d.ts",
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"keywords": [
|
|
"byte",
|
|
"buffer",
|
|
"binary",
|
|
"parser",
|
|
"struct",
|
|
"pack",
|
|
"unpack",
|
|
"big-endian",
|
|
"little-endian",
|
|
"network order",
|
|
"integer",
|
|
"float",
|
|
"IEEE-754",
|
|
"half-precision",
|
|
"single-precision",
|
|
"double-precision",
|
|
"ASCII",
|
|
"UTF-8",
|
|
"8-bit",
|
|
"16-bit",
|
|
"24-bit",
|
|
"32-bit",
|
|
"40-bit",
|
|
"48-bit",
|
|
"64-bit"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/rochars/byte-data.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/rochars/byte-data/issues"
|
|
},
|
|
"directories": {
|
|
"dist": "dist",
|
|
"externs": "externs",
|
|
"lib": "lib",
|
|
"scripts": "scripts"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"externs",
|
|
"lib",
|
|
"scripts",
|
|
"index.js",
|
|
"index.d.ts",
|
|
"AUTHORS.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"lint": "jshint index.js lib externs",
|
|
"test": "nyc ./node_modules/mocha/bin/_mocha test/src --recursive -R dot",
|
|
"test-umd": "node ./node_modules/mocha/bin/_mocha test/src --umd --recursive -R dot",
|
|
"test-es3": "node ./node_modules/mocha/bin/_mocha test/src --es3 --recursive -R dot",
|
|
"test-tsc": "tsc ./test/dist/TypeScript/main.ts && node -r esm ./test/dist/TypeScript/main.js",
|
|
"test-dist": "npm run test-umd && npm run test-es3 && npm run test-tsc",
|
|
"pack": "npm run test && rollup -c && npm run test-dist",
|
|
"doc": "./node_modules/.bin/jsdoc -c .jsdocrc index.js -d docs -r README.md -t node_modules/docdash",
|
|
"build": "npm run lint && npm run pack && npm run doc",
|
|
"coverage": "nyc report --reporter=lcov > coverage.lcov && codecov"
|
|
},
|
|
"devDependencies": {
|
|
"@ampproject/rollup-plugin-closure-compiler": "^0.13.0",
|
|
"@rollup/plugin-commonjs": "^11.0.0",
|
|
"@rollup/plugin-node-resolve": "^6.0.0",
|
|
"binary-data-types": "0.1.0",
|
|
"codecov": "^3.6.1",
|
|
"docdash": "^1.1.1",
|
|
"esm": "^3.2.25",
|
|
"jsdoc": "^3.6.3",
|
|
"jshint": "^2.10.3",
|
|
"mocha": "^6.2.2",
|
|
"mocha-lcov-reporter": "^1.3.0",
|
|
"nyc": "^14.1.1",
|
|
"rollup": "^1.27.14",
|
|
"typescript": "^3.7.4"
|
|
},
|
|
"dependencies": {
|
|
"endianness": "^8.0.2",
|
|
"ieee754-buffer": "^2.0.0",
|
|
"utf8-buffer": "^1.0.0"
|
|
}
|
|
}
|