67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
|
{
|
||
|
"name": "endianness",
|
||
|
"version": "8.0.2",
|
||
|
"description": "Swap endianness in byte arrays.",
|
||
|
"homepage": "https://github.com/rochars/endianness",
|
||
|
"author": "Rafael da Silva Rocha <rocha.rafaelsilva@gmail.com>",
|
||
|
"license": "MIT",
|
||
|
"module": "./endianness.js",
|
||
|
"types": "./endianness.d.ts",
|
||
|
"main": "./endianness.umd.js",
|
||
|
"engines": {
|
||
|
"node": ">=8"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"byte",
|
||
|
"array",
|
||
|
"buffer",
|
||
|
"swap",
|
||
|
"endianness",
|
||
|
"big-endian",
|
||
|
"little-endian",
|
||
|
"network-order"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/rochars/endianness.git"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/rochars/endianness/issues"
|
||
|
},
|
||
|
"files": [
|
||
|
"endianness.js",
|
||
|
"endianness.d.ts",
|
||
|
"endianness.umd.js",
|
||
|
"LICENSE",
|
||
|
"README.md",
|
||
|
"CHANGELOG.md"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"lint": "jshint endianness.js",
|
||
|
"test": "nyc --require=esm ./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-tsc": "tsc ./test/dist/TypeScript/index.ts && node -r esm ./test/dist/TypeScript/index.js",
|
||
|
"bundle": "npm run test && rollup --config && npm run test-umd && npm run test-tsc",
|
||
|
"doc": "./node_modules/.bin/jsdoc endianness.js -d docs -r README.md -t node_modules/docdash",
|
||
|
"build": "npm run lint && npm run bundle && npm run doc",
|
||
|
"coverage": "nyc report --reporter=lcov > coverage.lcov && codecov"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"babel-core": "^6.26.3",
|
||
|
"babel-plugin-external-helpers": "^6.22.0",
|
||
|
"babel-preset-es2015": "^6.24.1",
|
||
|
"codecov": "^3.0.4",
|
||
|
"docdash": "^0.4.0",
|
||
|
"esm": "^3.0.74",
|
||
|
"jsdoc": "^3.5.5",
|
||
|
"jshint": "^2.9.6",
|
||
|
"mocha": "^5.2.0",
|
||
|
"mocha-lcov-reporter": "^1.3.0",
|
||
|
"nyc": "^12.0.2",
|
||
|
"rollup": "^0.61.2",
|
||
|
"rollup-plugin-babel": "^3.0.7",
|
||
|
"typescript": "^2.9.2"
|
||
|
},
|
||
|
"dependencies": {}
|
||
|
}
|