UNPKG

bigint-buffer

Version:

bigint to buffer conversion with native support

90 lines (89 loc) 2.87 kB
{ "name": "bigint-buffer", "version": "1.1.5", "description": "bigint to buffer conversion with native support", "main": "dist/node.js", "browser": { "./dist/node.js": "./dist/browser.js" }, "types": "dist/index.d.ts", "scripts": { "test": "npm run test:node && npm run test:browser", "coverage": "istanbul cover ./test/index.js", "coveralls": "npm run coverage && coveralls <coverage/lcov.info", "lint": "gts check", "install": "npm run rebuild || echo \"Couldn't build bindings. Non-native version used.\"", "prepare": "npm run compile", "prepublishOnly": "rm -rf build/Release; rm build/Makefile; rm build/gyp-*; rm build/*.mk; rm build/*.Makefile; rm *.tgz", "test:browser": "karma start karma.conf.js", "test:node": "mocha -r ts-node/register src/**/*.spec.ts --timeout 40000", "benchmark": "node -r ts-node/register src/index.bench.ts", "typedoc": "typedoc --out docs $(pwd)/src $(pwd)/helper --target es6 --mode file --tsconfig ./tsconfig.json --excludePrivate --excludeProtected --excludeNotExported --exclude '**/*+(spec|bench).ts'", "rebuild": "node-gyp rebuild", "check": "gts check", "clean": "gts clean", "compile": "mkdirp dist && tsc -p . && rollup -c > dist/node.js && cross-env BROWSER=true rollup -c > dist/browser.js && cpx \"build/src/*.d.ts\" dist", "fix": "gts fix", "pretest": "npm run compile", "posttest": "npm run check" }, "repository": { "type": "git", "url": "https://github.com/no2chem/bigint-buffer.git" }, "bugs": { "url": "https://github.com/no2chem/bigint-buffer/issues" }, "keywords": [ "bigint", "bignum", "tc39-bigint", "napi" ], "license": "Apache-2.0", "dependencies": { "bindings": "^1.3.0" }, "devDependencies": { "@types/benchmark": "^1.0.31", "@types/bn.js": "^4.11.2", "@types/chai": "^4.1.4", "@types/mocha": "^5.2.5", "@types/node": "^10.7.1", "benchmark": "^2.1.4", "bn.js": "^4.11.8", "chai": "^4.1.2", "coveralls": "^3.0.2", "cpx": "^1.5.0", "cross-env": "^6.0.3", "gts": "^0.8.0", "istanbul": "^0.4.1", "karma": "^3.0.0", "karma-chrome-launcher": "^2.2.0", "karma-env-preprocessor": "^0.1.1", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "karma-webpack": "^3.0.0", "microtime": "^3.0.0", "mkdirp": "^0.5.1", "mocha": "^5.2.0", "pre-commit": "^1.2.2", "rollup": "^0.65.2", "rollup-plugin-replace": "^2.0.0", "ts-loader": "^4.5.0", "ts-node": "^7.0.1", "typedoc": "^0.12.0", "typescript": "^3.2.1", "webpack": "^4.16.5", "webpack-cli": "^3.1.0" }, "engines": { "node": ">= 10.0.0" }, "publishConfig": { "access": "public" }, "contributors": [ "Michael Wei <mwei@vmware.com> (https://github.com/no2chem)" ] }